|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Describes a container-managed field. The field element includes an optional description of the field, and the name of the field.
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
EList |
getDescriptions()
Returns the value of the 'Descriptions' containment reference list. |
Field |
getField()
Deprecated. - With EJB 2.0, assuming a Java field is no longer safe. Use getType() and getName() to get the most common field info. Or use getEjbClass() to get additional Java info. |
java.lang.String |
getGetterName()
The name of the get method corresponding to this attrribute |
JavaHelpers |
getOriginatingType()
Return the type of this attribute in its original form (i.e., unwrapped if the type has been wrapped). |
java.lang.String |
getSetterName()
The name of the set method corresponding to this attrribute |
JavaHelpers |
getType()
Returns the Java Type of the attribute |
boolean |
isCMRField()
Returns true if the attribute is a CMR field |
boolean |
isDerived()
Return true if a targetAttribute exists. |
boolean |
isKey()
Returns true if the attribute is the key field of the bean |
boolean |
isPrimKeyField()
Returns true if this field is a primkey-field in the deployment descriptor. |
void |
setDerived(boolean aBoolean)
Sets the attribute as a derived attribute |
void |
setDescription(java.lang.String value)
|
void |
setOriginatingType(JavaHelpers newOriginatingType)
Sets the originating Java type |
Method Detail |
public Field getField()
public java.lang.String getGetterName()
public JavaHelpers getOriginatingType()
public java.lang.String getSetterName()
public JavaHelpers getType()
public boolean isCMRField()
public boolean isKey()
public boolean isPrimKeyField()
public void setOriginatingType(JavaHelpers newOriginatingType)
newOriginatingType
- the JavaHelperspublic java.lang.String getDescription()
public void setDescription(java.lang.String value)
value
- The new value of the Description attributepublic EList getDescriptions()
Description
.
If the meaning of the 'Descriptions' containment reference list isn't clear, there really should be more of a description here...
EjbPackage.getCMPAttribute_Descriptions()
public boolean isDerived()
public void setDerived(boolean aBoolean)
aBoolean
- the boolean value
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |