public class DmcUncheckedObject extends Object
| Modifier and Type | Field and Description |
|---|---|
protected TreeMap<String,NamedStringArray> |
attributes |
ArrayList<String> |
classes
The classes of this object.
|
int |
lineNumber |
| Constructor and Description |
|---|
DmcUncheckedObject() |
DmcUncheckedObject(ArrayList<String> classNames,
int ln)
Creates a new DmcUncheckedObject.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAux(String cd)
Adds the specified auxiliary class name to the object.
|
void |
addToClasses(String c) |
void |
addValue(String name,
String value)
Adds a new attribute value to the object.
|
NamedStringArray |
get(String name) |
Iterator<String> |
getAttributeNames() |
Iterator<String> |
getClasses() |
String |
getConstructionClass() |
DmcUncheckedObject |
getOneOfMe() |
String |
getSV(String attrname)
A convenience function to retrieve the value of a single valued attribute from
the object.
|
void |
rem(String attribute)
Removes the value for the specified attribute
|
void |
setConstructionClass(String cn)
Wipes any existing classes and sets the construction class to the specified value.
|
String |
toOIF() |
protected TreeMap<String,NamedStringArray> attributes
public ArrayList<String> classes
A list of Strings that indicate the construction class and any auxiliary classes of this object.
public int lineNumber
public DmcUncheckedObject()
public DmcUncheckedObject(ArrayList<String> classNames, int ln)
classNames - An array of Strings that define the structural class of the
object followed by any auxiliary classes.DmcValueExceptionIllegalAccessExceptionInstantiationExceptionpublic String getConstructionClass()
public void setConstructionClass(String cn)
cn - the new class namepublic void addToClasses(String c)
public void rem(String attribute)
attribute - public void addValue(String name, String value)
name - The attribute namevalue - The attribute valuepublic String toOIF()
public String getSV(String attrname)
attrname - A - ResultException if the attribute has multiple values.public DmcUncheckedObject getOneOfMe()
public void addAux(String cd)
cd - The auxiliary class name.public NamedStringArray get(String name)
Copyright © 2023. All rights reserved.