AR System Java API

com.bmc.arsys.api
Class ExternalReference

java.lang.Object
  extended by com.bmc.arsys.api.Reference
      extended by com.bmc.arsys.api.ExternalReference
All Implemented Interfaces:
Serializable, Cloneable

public class ExternalReference
extends Reference
implements Serializable, Cloneable

The ExternalReference class represents non-AR System server objects. Each external reference has a list of groups that are permitted to use the reference.

See Also:
Serialized Form

Constructor Summary
ExternalReference()
           
ExternalReference(String label, String description, ReferenceType refType, List<Integer> adminGroups, Value val)
           
 
Method Summary
 Object clone()
          Clone implementation that returns an Object with data cloned from self.
 boolean equals(Object obj)
          Use this method for checking equality between the current object and the provided one.
 List<Integer> getAdminGroupList()
          Returns lists of groups with administrator access permitted to use the reference.
 Value getValue()
          Returns value for groups.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setAdminGroupList(List<Integer> groups)
          Defines lists of groups with administrator access permitted to use the reference.
 void setValue(Value val)
          Defines value for groups.
 String toString()
          Returns a string description of the object.
 
Methods inherited from class com.bmc.arsys.api.Reference
getDescription, getLabel, getName, getReferenceType, setDescription, setLabel, setName, setReferenceType
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExternalReference

public ExternalReference()

ExternalReference

public ExternalReference(String label,
                         String description,
                         ReferenceType refType,
                         List<Integer> adminGroups,
                         Value val)
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self.

Overrides:
clone in class Reference
Throws:
CloneNotSupportedException

getAdminGroupList

public List<Integer> getAdminGroupList()
Returns lists of groups with administrator access permitted to use the reference.


getValue

public Value getValue()
Returns value for groups.


setAdminGroupList

public void setAdminGroupList(List<Integer> groups)
Defines lists of groups with administrator access permitted to use the reference.


setValue

public void setValue(Value val)
Defines value for groups.


toString

public String toString()
Returns a string description of the object.

Overrides:
toString in class Reference

hashCode

public int hashCode()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.

Overrides:
hashCode in class Reference
Returns:
returns the hash code for this instance

equals

public boolean equals(Object obj)
Use this method for checking equality between the current object and the provided one. The result is true only if the argument is not null, is of the same type and represents the same content.

Overrides:
equals in class Reference
Parameters:
obj - the object that we are comparing to
Returns:
returns a boolean that tells if the two objects equal

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.