|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.spi.core.metadata.PropertyMetaDataDefaults
public final class PropertyMetaDataDefaults
Implementation to provide defaults from the project set annotation.
Constructor Summary | |
---|---|
PropertyMetaDataDefaults(Class<?> type) Default constructor using the declaring type. |
|
PropertyMetaDataDefaults(Class<?> type, Method propertyMethod) Default constructor using the declaring and method type. |
|
PropertyMetaDataDefaults(Method propertyMethod) Default constructor using the method and adding the name of the method. |
Method Summary | |
---|---|
String |
getName() Returns the default name. |
String |
getSpace() Returns the default space. |
String |
getTitle() Returns the default title. |
static PropertyMetaDataDefaults |
propertySet(Method propertyMethod) Retruns the property set metadata defaults. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyMetaDataDefaults(Class<?> type) throws NullPointerException
type
- the type to extract default values for title, name and space.
NullPointerException
- if
type
is
null
.
public PropertyMetaDataDefaults(Class<?> type, Method propertyMethod) throws NullPointerException
type
- the type to extract default values for title, name and space.
propertyMethod
- the method to check for a property set annotation that overrides the one of the type.
NullPointerException
- if
type
is
null
.
public PropertyMetaDataDefaults(Method propertyMethod)
propertyMethod
- the method to derive default values.
Method Detail |
---|
public static PropertyMetaDataDefaults propertySet(Method propertyMethod)
propertyMethod
- the method of the property whose set defaults are requested.
public String getTitle()
ProjectdocAnnotationCollector.Defaults
null
.
getTitle
in interface
ProjectdocAnnotationCollector.Defaults
null
.
public String getName()
ProjectdocAnnotationCollector.Defaults
null
.
getName
in interface
ProjectdocAnnotationCollector.Defaults
null
.
public String getSpace()
ProjectdocAnnotationCollector.Defaults
null
.
getSpace
in interface
ProjectdocAnnotationCollector.Defaults
null
.
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |