public class MAttributeFieldData extends java.lang.Object implements IFormFieldData
Constructor and Description |
---|
MAttributeFieldData(IModelingSession session,
ModelElement elt,
MAttribute mAtt)
Initialize the field using the meta-attribute's name as a label.
|
MAttributeFieldData(IModelingSession session,
ModelElement elt,
MAttribute mAtt,
java.lang.String label)
Initialize the field.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
IFormFieldType |
getType() |
java.lang.Object |
getValue() |
void |
setValue(java.lang.Object value) |
public MAttributeFieldData(IModelingSession session, ModelElement elt, MAttribute mAtt, java.lang.String label)
session
- the modeling session to use to modify the modelelt
- the element being edited.mAtt
- the element's meta-attribute being edited.label
- the label to be displayed for this field.public MAttributeFieldData(IModelingSession session, ModelElement elt, MAttribute mAtt)
session
- the modeling session to use to modify the modelelt
- the element being edited.mAtt
- the element's meta-attribute being edited.public java.lang.String getName()
getName
in interface IFormFieldData
public IFormFieldType getType()
getType
in interface IFormFieldData
public java.lang.Object getValue()
getValue
in interface IFormFieldData
public void setValue(java.lang.Object value)
setValue
in interface IFormFieldData