|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectraccoon.tibco.tibrv.badhnati.descriptors.ClassElement
public class ClassElement
A single prefix element contained within an ActiveEnterprise message.
| Constructor Summary | |
|---|---|
ClassElement()
Default constructor required as this is just a container |
|
ClassElement(java.lang.String pRadix,
java.lang.String pClassName,
java.lang.Integer pIndex)
Convenience constructor, assigns all the elements to this container. |
|
ClassElement(java.lang.String pRadix,
java.lang.String pClassName,
java.lang.String pCollectionType,
java.lang.Integer pIndex)
Convenience constructor, assigns all the elements to this container. |
|
ClassElement(java.lang.String pRadix,
java.lang.String pClassName,
java.lang.String pCollectionType,
java.lang.Integer pIndex,
IRepoGenerator pRepoGenerator)
Convenience constructor, assigns all the elements to this container. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object pObject)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
getClassName()
The fully qualified name of the class. |
java.lang.String |
getCollectionType()
The element type if Object.getClass() is a collection (Vector, ...). |
java.lang.Integer |
getIndex()
The position of this class within the prefix list of the Active Enterprise message |
java.lang.String |
getRadix()
Retrieve the root element of the path location within the TIB/Repository |
int |
hashCode()
Returns a hash code value for the object. |
void |
setClassName(java.lang.String pClassName)
Assigns to this instance the name of the class. |
void |
setCollectionType(java.lang.String pCollectionType)
The type of the collection element if Object.getClass() is a collection, null otherwise. |
void |
setIndex(java.lang.Integer pIndex)
The position of this class within the prefix list of the Active Enterprise message |
void |
setRadix(java.lang.String pRadix)
Assign the root element of the path element. |
void |
setRepoGenerator(IRepoGenerator pRepoGenerator)
Defines the utility component in relation with the TIB/Repository. |
java.lang.String |
toRepoObject()
Converts the name of a java object to the corresponding entry in the TIB/Repository. |
java.lang.String |
toRepoURL()
Converts the current information to a contained by this instance to a valid TIB/Repository URL |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClassElement()
public ClassElement(java.lang.String pRadix,
java.lang.String pClassName,
java.lang.Integer pIndex)
pRadix - the common root for all Active Enterprise class definitions.pClassName - the offset to apply to the radix to locate the curent element.pIndex - the index within the list of prefixes of this instance.
public ClassElement(java.lang.String pRadix,
java.lang.String pClassName,
java.lang.String pCollectionType,
java.lang.Integer pIndex)
pRadix - the common root for all Active Enterprise calss definitions.pClassName - the offset to apply to the radix to locate the curent element.pCollectionType - the type of the element contained within the previous, if it is a collection.pIndex - the index within the list of prefixes of this instance.
public ClassElement(java.lang.String pRadix,
java.lang.String pClassName,
java.lang.String pCollectionType,
java.lang.Integer pIndex,
IRepoGenerator pRepoGenerator)
pRadix - the common root for all Active Enterprise calss definitions.pClassName - the offset to apply to the radix to locate the curent element.pCollectionType - the type of the element contained within the previous, if it is a collection.pIndex - the index within the list of prefixes of this instance.pRepoGenerator - the TIB/Repository URL generator| Method Detail |
|---|
public void setRepoGenerator(IRepoGenerator pRepoGenerator)
pRepoGenerator - the repository generator instance.public java.lang.String getCollectionType()
Object.getClass() is a collection (Vector, ...).
public void setCollectionType(java.lang.String pCollectionType)
Object.getClass() is a collection, null otherwise.
pCollectionType - the type of the collection elementpublic java.lang.String getRadix()
public void setRadix(java.lang.String pRadix)
AeConstants.CLASS_DIRECTORY,
AeConstants.SEQUENCE_DIRECTORY
pRadix - radix for this Active Enterprise component.public java.lang.String getClassName()
Class.getName()public void setClassName(java.lang.String pClassName)
pClassName - the fully qualified name of the classpublic java.lang.Integer getIndex()
Messagepublic void setIndex(java.lang.Integer pIndex)
pIndex - the index of this class defined by Messagepublic boolean equals(java.lang.Object pObject)
equals method implements an equivalence relation:
x, x.equals(x) should return
true.
x and y, x.equals(y)
should return true if and only if y.equals(x) returns true.
x, y, and z, if
x.equals(y) returns true and y.equals(z) returns true, then
x.equals(z) should return true.
x and y, multiple invocations of
x.equals(y) consistently return true or consistently return false, provided
no information used in equals comparisons on the object is modified.
x, x.equals(null) should return false.
className and radix.
equals in class java.lang.ObjectpObject - the reference object with which to compare.
true if this object is the same as the pObject argument; false otherwise.public int hashCode()
java.util.Hashtable.
The hashcode is an element generated from the properties className and radix
hashCode in class java.lang.Object
public java.lang.String toRepoURL()
throws RaccoonException
RaccoonException - if the Repository Generator fails for some reason.
public java.lang.String toRepoObject()
throws RaccoonException
RaccoonException - if the RepoGenerator fails for some reasonpublic java.lang.String toString()
toString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character, and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||