org.glassfish.ha.store.spi
Interface AttributeMetadata<S,T>
- Type Parameters:
S - The StoreEntry that this AttributeMetadata belongs toT - The Java type of the Attribute that this Metadata represents
public interface AttributeMetadata<S,T>
For each attribute A of type T in a.b.X, a.b.X_ contains a (static) field whose
type is AttributeMetadata. AttributeMetadata describes the attribute
by giving its (java) type, name etc.
- Author:
- Mahesh.Kannan@Sun.Com
getName
String getName()
getAttributeType
Class<T> getAttributeType()
- Get the java type of this attribute
- Returns:
getGetterMethod
Method getGetterMethod()
getSetterMethod
Method getSetterMethod()
isVersionAttribute
boolean isVersionAttribute()
isHashKeyAttribute
boolean isHashKeyAttribute()
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.