org.eclipse.emf.cdo.client
Interface AttributeInfo

All Superinterfaces:
CDODataTypes
All Known Implementing Classes:
AttributeInfoImpl

public interface AttributeInfo
extends CDODataTypes

Stores CDO related information for an associated EAttribute instance.

The most important information is the mapping specification that is determined from a mapping file or from model annotations. An AttributeInfo instance is always contained in a ClassInfo instance.

This interface is not expected to be implemented by clients.

See Also:
EAttribute, AttributeMapping, ClassInfo

Field Summary
 
Fields inherited from interface org.eclipse.emf.cdo.core.CDODataTypes
BOOLEAN, BOOLEAN_OBJECT, BYTE, BYTE_OBJECT, CHAR, CHAR_OBJECT, DOUBLE, DOUBLE_OBJECT, FLOAT, FLOAT_OBJECT, INT, INT_OBJECT, LONG, LONG_OBJECT, MAX_PRIMITIVE, MIN_PRIMITIVE, SHORT, SHORT_OBJECT, STRING, USER_DEFINED
 
Method Summary
 ClassInfo getClassInfo()
          Returns the ClassInfo instance this attribute is contained in.
 int getDataType()
          Returns the CDO data type ID of this attribute.
 org.eclipse.emf.ecore.EAttribute getEAttribute()
          Returns the Ecore structural feature of this attribute.
 AttributeMapping getMapping()
          Returns the CDO mapping info of this attribute.
 java.lang.String getName()
          Returns the name of this attribute.
 

Method Detail

getName

java.lang.String getName()
Returns the name of this attribute.

Returns:
The name of this attribute (is never null).

getDataType

int getDataType()
Returns the CDO data type ID of this attribute.

Returns:
The CDO data type ID of this attribute.

getEAttribute

org.eclipse.emf.ecore.EAttribute getEAttribute()
Returns the Ecore structural feature of this attribute.

Returns:
The Ecore structural feature of this attribute (is never null).

getMapping

AttributeMapping getMapping()
Returns the CDO mapping info of this attribute.

Returns:
The CDO mapping info of this attribute (is never null).

getClassInfo

ClassInfo getClassInfo()
Returns the ClassInfo instance this attribute is contained in.

Returns:
The ClassInfo instance this attribute is contained in (is never null).

Copyright (c) 2004, 2005, 2006 Eike Stepper, Germany.
All Rights Reserved.