|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cmc.tcgui.datadef.TCEntry
Abstract parent for AttributeEntry and TCObject. Implements their common properties.
| Field Summary | |
protected String |
description
Description of the entry. |
protected String |
id
ID for purposes of generators, checkers and exporters. |
protected String |
label
Human readable label |
protected String |
name
Name in the iproute2 world. |
| Constructor Summary | |
TCEntry()
Creates a new TCEntry |
|
TCEntry(String id,
String name,
String label)
Creates a new TCEntry with given id, name and label |
|
| Method Summary | |
Object |
clone()
Clones this TCEntry |
String |
getDescription()
Returns the description of the entry. |
String |
getID()
Returns TCEntry's id (may be empty string) |
String |
getLabel()
Returns TCEntry's label. |
String |
getName()
Returns attribute name. |
void |
setDescription(String description)
Sets the description of the entry. |
void |
setID(String id)
Sets the id for this TCEntry |
void |
setLabel(String label)
Sets the label for this TCEntry |
void |
setName(String name)
Sets the name for this TCEntry |
String |
toString()
Creates and returns string representation of this TCEntry. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected String id
protected String label
protected String name
protected String description
| Constructor Detail |
public TCEntry()
public TCEntry(String id,
String name,
String label)
id - id of the TCEntryname - name of the TCEntrylabel - human-readable label of the TCEntry| Method Detail |
public String getID()
public void setID(String id)
id - id to be setidpublic String getLabel()
labelpublic void setLabel(String label)
label - label to be setlabelpublic String getName()
namepublic void setName(String name)
name - name to be setnamepublic String getDescription()
descriptionpublic void setDescription(String description)
description - description to be setdescriptionpublic Object clone()
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||