|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cmc.tcgui.datadef.TCEntry
cz.cmc.tcgui.datadef.AttributeEntry
cz.cmc.tcgui.datadef.Attribute
Attribute describes a single attribute.
Field Summary | |
protected AttributeType |
type
Type of the attribute |
Fields inherited from class cz.cmc.tcgui.datadef.AttributeEntry |
generated, interpreted, maxInstances, minInstances, parent, position, UNLIMITED_INSTANCES, virtual |
Fields inherited from class cz.cmc.tcgui.datadef.TCEntry |
description, id, label, name |
Constructor Summary | |
Attribute()
Creates a new Attribute |
|
Attribute(AttributeType type)
Creates a new Attribute with the given type |
|
Attribute(String id,
String name,
String label,
AttributeType type)
Creates a new Attribute with given id, name, label and type |
Method Summary | |
Object |
clone()
Clones this Attribute |
AttributeType |
getType()
Returns the type of this attribute. |
void |
setType(AttributeType type)
Sets the type of this Attribute. |
Methods inherited from class cz.cmc.tcgui.datadef.AttributeEntry |
getGenerated, getInterpreted, getMaxInstances, getMinInstances, getParent, getPosition, getVirtual, setGenerated, setInterpreted, setMaxInstances, setMinInstances, setParent, setPosition, setVirtual, toString |
Methods inherited from class cz.cmc.tcgui.datadef.TCEntry |
getDescription, getID, getLabel, getName, setDescription, setID, setLabel, setName |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected AttributeType type
Constructor Detail |
public Attribute()
public Attribute(AttributeType type)
public Attribute(String id, String name, String label, AttributeType type)
id
- id of the AttributeEntryname
- name of the AttributeEntrylabel
- human-readable label of the AttributeEntrytype
- AttributeType of the AttributeMethod Detail |
public void setType(AttributeType type)
type
- specific type object implementing AttributeTypepublic AttributeType getType()
public Object clone()
clone
in class AttributeEntry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |