|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.xml.TypeName
public class TypeName
The type name.
A typical name looks like this: REPC_IN002620.ControlActProcess
.
The parent of this name would be REPC_IN002620
Field Summary | |
---|---|
static String |
PART_SEPARATOR
|
Constructor Summary | |
---|---|
TypeName(String name)
Standard constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Standard equals method. |
String |
getName()
Get the name. |
TypeName |
getParent()
Get the name of the parent type. |
int |
getPartCount()
The number of parts (separated by the period character) in the name. |
TypeName |
getRootName()
Get the name of the top-level type. |
String |
getUnqualifiedName()
Gets the unqualified part name. |
int |
hashCode()
Standard hash code method. |
boolean |
isInteraction()
Get a flag indicating whether or not a type name is an interaction. |
boolean |
isRoot()
Get a flag indicating whether or not the type name represents a top-most type. |
String |
toString()
Standard toString method. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PART_SEPARATOR
Constructor Detail |
---|
public TypeName(String name)
Standard constructor.
name
- - the name of the typeMethod Detail |
---|
public int getPartCount()
The number of parts (separated by the period character) in the name.
public boolean isRoot()
Get a flag indicating whether or not the type name represents a top-most type.
public TypeName getRootName()
Get the name of the top-level type. For example the root name of "PRPA_MT101103CA.ParameterList" is "PRPA_MT101103CA". The root name of "PRPA_MT101103CA" is "PRPA_MT101103CA".
public TypeName getParent()
Get the name of the parent type. For example the parent name of "PRPA_MT101103CA.ParameterList" is "PRPA_MT101103CA". The parent name of "PRPA_MT101103CA" is "".
public boolean equals(Object obj)
Standard equals method.
equals
in class Object
obj
- - the other object
public int hashCode()
Standard hash code method.
hashCode
in class Object
public String getName()
Get the name.
public String getUnqualifiedName()
Gets the unqualified part name. For example the unqualified name of "PRPA_MT101103CA.ParameterList" is "ParameterList". The unqualified name of "PRPA_MT101103CA" is "PRPA_MT101103CA".
public String toString()
Standard toString method.
toString
in class Object
public boolean isInteraction()
Get a flag indicating whether or not a type name is an interaction. Interactions tend to have '_IN' in the middle of the name. For example, "PRPA_IN101103CA" is an interaction name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |