org.spicefactory.pimento.metamodel
Interface Attribute

All Superinterfaces:
ManagedProperty
All Known Implementing Classes:
AttributeImpl

public interface Attribute
extends ManagedProperty

Represents a persistent non-collection-valued property.

Author:
Jens Halm

Method Summary
 Type getAttributeType()
          Returns the type of the attribute.
 boolean isId()
          Indicates whether the attribute is an id attribute.
 
Methods inherited from interface org.spicefactory.pimento.metamodel.ManagedProperty
getHandler, getIndex, getProperty, isReadOnly, isRefreshable
 

Method Detail

isId

boolean isId()
Indicates whether the attribute is an id attribute.

Returns:
true if the attribute is an id attribute.

getAttributeType

Type getAttributeType()
Returns the type of the attribute.

Returns:
the type of the attribute.