|
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bmc.arsys.api.Reference
public class Reference
Reference is used to set and return the objects referenced by a container.
| Constructor Summary | |
|---|---|
Reference()
|
|
Reference(String label,
String description,
ReferenceType refType,
String name)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Makes a deep copy of the object. |
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the provided one. |
String |
getDescription()
Returns a string specifying a display-only description for the reference. |
String |
getLabel()
Returns a string specifying a display-only label for the reference. |
String |
getName()
Returns name of object. |
ReferenceType |
getReferenceType()
Returns union that defines either an internal or external reference depending on its datatype,which is either 0 ( Constants.ARREF_DATA_ARSREF) or
1 (Constants.ARREF_DATA_EXTREF). |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
void |
setDescription(String desc)
Sets a character string specifying a display-only description for the reference. |
void |
setLabel(String label)
Sets a character string specifying a display-only label for the reference. |
void |
setName(String name)
Sets name of object. |
void |
setReferenceType(ReferenceType type)
|
String |
toString()
Returns a string description of the object. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Reference()
public Reference(String label,
String description,
ReferenceType refType,
String name)
| Method Detail |
|---|
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic String getLabel()
public void setLabel(String label)
Constants.ARMAX_CON_LABEL_LEN (255 bytes).
public String getDescription()
public void setDescription(String desc)
Constants.ARMAX_CON_DESCRIPTION_LEN (2000 bytes).
public ReferenceType getReferenceType()
Constants.ARREF_DATA_ARSREF) or
1 (Constants.ARREF_DATA_EXTREF).
public void setReferenceType(ReferenceType type)
public String getName()
public void setName(String name)
public boolean equals(Object obj)
equals in class Objectobj - the object that we are comparing to
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||