|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents common information about Cache concepts like Property definition or Method arguments definitions.
CacheField
,
CacheMethod
Method Summary | |
Object |
getDefaultValue()
Returns the default value if it is defined represented by an Object of appropriate type. |
String |
getDefaultValueString()
Returns the default value if it is defined in String representation. |
String |
getElementTypeName()
This method is meaningful only if the essense is of collection type. |
String |
getJavaTypeName()
Returns the name of corresponding Java class. |
int |
getModifiers()
Returns modifier flags which can be used to determine whether the described essence is literal or object, static or per instance, has default value or not, etc. |
String |
getName()
Returns the name of the essence |
CacheClass |
getType()
Returns the CacheClass corresponding to the type
of this essense. |
String |
getTypeName()
Returns the name of the Cache class corresponding to the type of this essense. |
Method Detail |
public String getName()
String
public String getDefaultValueString()
String
representation.
String
.public Object getDefaultValue()
Object
of appropriate type.
Object
.public CacheClass getType() throws CacheException
CacheClass
corresponding to the type
of this essense. Invocation of this method will cause Java
client to request loading corresponding class from the
Database. Use getTypeName
to avoid loading
CacheClass.
CacheClass
object.
CacheException
public String getTypeName()
String
.public String getElementTypeName()
public String getJavaTypeName()
String
.public int getModifiers()
CacheModifier
class should be used to decode the
modifiers.
int
.CacheModifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |