hep.graphics.heprep.corbavalue
Class HepRepDefinitionAdapter
java.lang.Object
   hep.graphics.heprep.corbavalue.HepRepAttributeAdapter
hep.graphics.heprep.corbavalue.HepRepAttributeAdapter
       hep.graphics.heprep.corbavalue.HepRepDefinitionAdapter
hep.graphics.heprep.corbavalue.HepRepDefinitionAdapter
- All Implemented Interfaces: 
- HepRepAttribute, HepRepConstants, HepRepDefinition
- Direct Known Subclasses: 
- HepRepTypeAdapter
- public abstract class HepRepDefinitionAdapter- extends HepRepAttributeAdapter- implements HepRepDefinition
- Version:
- $Id: HepRepDefinitionAdapter.java,v 1.9 2003/12/04 23:25:42 duns Exp $
- Author:
- Mark Donszelmann
- Source Code:
- HepRepDefinitionAdapter.java
 
| 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 | 
 
 
 
| Methods inherited from class hep.graphics.heprep.corbavalue.HepRepAttributeAdapter | 
| addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue | 
 
 
 
| Methods inherited from interface hep.graphics.heprep.HepRepAttribute | 
| addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue | 
 
cvsId
public static final String cvsId
- See Also:
- Constant Field Values
HepRepDefinitionAdapter
public HepRepDefinitionAdapter(HepRepDefinition hepRepDefinition)
getAttDefsFromNode
public Set getAttDefsFromNode()
- Description copied from interface: HepRepDefinition
- Returns a collection of all attribute definitions defined on this node.
 
- 
- Specified by:
- getAttDefsFromNodein interface- HepRepDefinition
 
- 
- Returns:
- collection of attributes definitions.
 
getAttDefFromNode
public HepRepAttDef getAttDefFromNode(String lowerCaseName)
- Description copied from interface: HepRepDefinition
- Returns a named attribute definition defined on this node.
 
- 
- Specified by:
- getAttDefFromNodein interface- HepRepDefinition
 
- 
- Parameters:
- lowerCaseName- name of the attribute in lower case.
- Returns:
- attribute definition.
 
addAttDef
public void addAttDef(HepRepAttDef attDef)
- Description copied from interface: HepRepDefinition
- Adds an attdef.
 
- 
- Specified by:
- addAttDefin interface- HepRepDefinition
 
- 
- Parameters:
- attDef- to be added.
 
addAttDef
public void addAttDef(String name,
                      String desc,
                      String type,
                      String extra)
- Description copied from interface: HepRepDefinition
- Adds an attdef.
 
- 
- Specified by:
- addAttDefin interface- HepRepDefinition
 
- 
- Parameters:
- name- name of the definition.
- desc- description of the definition.
- type- category of the definition.
- extra- extra info of the definition.
 
equals
public boolean equals(Object o)
- 
- Overrides:
- equalsin class- HepRepAttributeAdapter
 
- 
 
hashCode
public int hashCode()
- 
- Overrides:
- hashCodein class- HepRepAttributeAdapter
 
- 
 
Copyright © 2000-2004 FreeHEP, All Rights Reserved.