|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.graphics.heprep.corba.CORBAHepRepAttribute | +--hep.graphics.heprep.corba.CORBAHepRepDefinition | +--hep.graphics.heprep.corba.HepRepTypeAdapter
Field Summary | |
static String |
cvsId
|
Fields inherited from interface hep.graphics.heprep.HepRepConstants |
SHOW_DESC, SHOW_EXTRA, SHOW_NAME, SHOW_NONE, SHOW_VALUE, TYPE_BOOLEAN, TYPE_COLOR, TYPE_DOUBLE, TYPE_INT, TYPE_LONG, TYPE_STRING, TYPE_UNKNOWN |
Constructor Summary | |
HepRepTypeAdapter(HepRepType hepRepType,
HepRepType parent)
|
Method Summary | |
void |
addAttDef(String name,
String desc,
String type,
String extra)
Adds an attdef. |
void |
addType(HepRepType type)
Adds a sub-type to this type. |
HepRepType |
copy(HepRepType parent)
Returns a deep copy of this type. |
boolean |
equals(Object o)
|
HepRepAttDef |
getAttDef(String name)
Return a named attribute definition searched on this node and any parent nodes. |
protected HepRepAttDef[] |
getAttDefs()
|
HepRepAttValue |
getAttValue(String name)
Returns the attValue specified by name. |
protected HepRepAttValue[] |
getAttValues()
|
String |
getDescription()
Returns the description of this type. |
String |
getFullName()
Returns the full name of this type. |
String |
getInfoURL()
Returns the information URL of this type. |
String |
getName()
Returns the name of this type. |
HepRepType |
getSuperType()
Returns the parent of this type. |
Set |
getTypes()
Returns a collection of all the sub-types of this type. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class hep.graphics.heprep.corba.CORBAHepRepDefinition |
addAttDef, getAttDefFromNode, getAttDefsFromNode |
Methods inherited from class hep.graphics.heprep.corba.CORBAHepRepAttribute |
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface hep.graphics.heprep.HepRepDefinition |
addAttDef, getAttDefFromNode, getAttDefsFromNode |
Methods inherited from interface hep.graphics.heprep.HepRepAttribute |
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
Field Detail |
public static final String cvsId
Constructor Detail |
public HepRepTypeAdapter(HepRepType hepRepType, HepRepType parent)
Method Detail |
public HepRepType copy(HepRepType parent) throws CloneNotSupportedException
HepRepType
copy
in interface HepRepType
parent
- to which this copy is added.
CloneNotSupportedException
- if copying is not possible.public HepRepType getSuperType()
HepRepType
getSuperType
in interface HepRepType
public String getName()
HepRepType
getName
in interface HepRepType
HepRepType.getFullName()
public String getFullName()
HepRepType
getFullName
in interface HepRepType
HepRepType.getName()
public String getDescription()
HepRepType
getDescription
in interface HepRepType
public String getInfoURL()
HepRepType
getInfoURL
in interface HepRepType
public Set getTypes()
HepRepType
getTypes
in interface HepRepType
public boolean equals(Object o)
equals
in class CORBAHepRepDefinition
public int hashCode()
hashCode
in class CORBAHepRepDefinition
public void addAttDef(String name, String desc, String type, String extra)
HepRepDefinition
addAttDef
in interface HepRepDefinition
name
- name of the definition.desc
- description of the definition.type
- category of the definition.extra
- extra info of the definition.public void addType(HepRepType type)
HepRepType
addType
in interface HepRepType
type
- sub-type to be added.public HepRepAttDef getAttDef(String name)
HepRepDefinition
getAttDef
in interface HepRepDefinition
name
- of attribute definition.
public HepRepAttValue getAttValue(String name)
HepRepAttribute
getAttValue
in interface HepRepAttribute
name
- of attribute value.
public String toString()
toString
in class Object
protected HepRepAttValue[] getAttValues()
getAttValues
in class CORBAHepRepAttribute
protected HepRepAttDef[] getAttDefs()
getAttDefs
in class CORBAHepRepDefinition
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |