org.glassfish.ha.store.spi
Interface AttributeMetadata<S,T>

Type Parameters:
S - The StoreEntry that this AttributeMetadata belongs to
T - 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

Method Summary
 Class<T> getAttributeType()
          Get the java type of this attribute
 Method getGetterMethod()
           
 String getName()
           
 Method getSetterMethod()
           
 boolean isHashKeyAttribute()
           
 boolean isVersionAttribute()
           
 

Method Detail

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.