public class ExternalObjectDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
java.util.Vector<Joint> |
arg |
java.lang.String[] |
name |
java.lang.String[] |
nameJar |
java.lang.String[] |
path |
Constructor and Description |
---|
ExternalObjectDescription()
Default builder
|
ExternalObjectDescription(ExternalObjectDescription d)
Copy builder
|
ExternalObjectDescription(ExternalObjectDescription d,
boolean layer)
Copy builder.
|
ExternalObjectDescription(java.lang.String n,
java.lang.String p,
int s)
Builder
|
ExternalObjectDescription(java.lang.String n,
java.lang.String p,
int s,
java.lang.String j)
Builder
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Implements the String's lexicographic order
|
java.lang.String |
enumerateNames()
Gets a string with all the names from all the layers
|
java.lang.String[] |
getAllNames()
Gets all the names
|
java.util.Vector |
getArg()
Get args
|
java.lang.String |
getJarName()
Gets the JAR name (i.e. the name with the extesion ".jar") of
the active layer
|
java.lang.String |
getJarName(int k)
Gets the JAR name at the indicated layer
|
java.lang.String |
getName()
Gets the name of the object at the active layer
Currently, only layer 0 is used in KEEL
|
java.lang.String |
getName(int k)
The name of the object at the layer indicated
|
int |
getNamesLength()
Gets the size of the names array
|
java.lang.String |
getPath()
Gets the path at the active layer
|
java.lang.String |
getPath(int k)
Get the path from the indicated layer
|
int |
getSubtype()
Gets the subtype of this object
|
int |
getSubtypelqd()
Gets the subtype of this object
|
void |
redim(int dim)
Resize the object to the new capacity indicated
|
void |
setArg(java.util.Vector<Joint> join)
Set args
|
void |
setName(java.lang.String n)
Sets the name of the current active layer
|
void |
setName(java.lang.String n,
int ly)
Sets the name of the indicated layer
|
void |
setPath(java.lang.String p)
Sets the path of the active layer
|
void |
setPath(java.lang.String p,
int ly)
Sets the path of the indicated layer
|
void |
setSubtype(int s)
Sets the subtype of this object
|
void |
setSubtypelqd(int s)
Sets the subtype of this object
|
java.lang.String |
toString()
To string method
|
public java.lang.String[] name
public java.lang.String[] path
public java.lang.String[] nameJar
public java.util.Vector<Joint> arg
public ExternalObjectDescription()
public ExternalObjectDescription(ExternalObjectDescription d)
d
- Object to be copiedpublic ExternalObjectDescription(ExternalObjectDescription d, boolean layer)
d
- Object to be copiedlayer
- True if the layer selected is the firstpublic ExternalObjectDescription(java.lang.String n, java.lang.String p, int s)
n
- Namep
- Paths
- Subtypepublic ExternalObjectDescription(java.lang.String n, java.lang.String p, int s, java.lang.String j)
n
- Namep
- Paths
- Subtype
* @param s Subtypelqdj
- Jarpublic void redim(int dim)
dim
- the new sizepublic java.util.Vector getArg()
public void setArg(java.util.Vector<Joint> join)
join
- Joiningpublic java.lang.String getName()
public java.lang.String getName(int k)
k
- the number of the layerpublic java.lang.String[] getAllNames()
public java.lang.String getPath()
public java.lang.String getPath(int k)
k
- the index to the layerpublic int getSubtype()
public int getSubtypelqd()
public java.lang.String getJarName()
public java.lang.String getJarName(int k)
k
- the number of the layerpublic int getNamesLength()
public void setPath(java.lang.String p, int ly)
p
- the new pathly
- the number of the layer to be modifiedpublic void setPath(java.lang.String p)
p
- The new path (at layer 0 by default)public void setName(java.lang.String n)
n
- the new name (at layer 0 by default)public void setName(java.lang.String n, int ly)
n
- the new namely
- the layer to be modifiedpublic void setSubtype(int s)
s
- the new subtypepublic void setSubtypelqd(int s)
s
- the new subtypepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String enumerateNames()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable