wt.admin
Class AdminDomainRef

java.lang.Object
  extended by wt.fc.ObjectReference
      extended by wt.fc.CachedObjectReference
          extended by wt.admin.AdminDomainRef
All Implemented Interfaces:
Externalizable, Serializable, NetFactor, ObjectMappable, WTReference, Evolvable

public class AdminDomainRef
extends wt.fc.CachedObjectReference
implements Externalizable

The AdminDomainRef class encapsulates a reference to an AdministrativeDomain object.

Use the newAdminDomainRef static factory method(s), not the AdminDomainRef constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
Serialized Form

Method Summary
protected  void initialize(AdminDomainRef ref)
          Supports initialization, following construction of an instance.
protected  void initialize(AdministrativeDomain domain)
          Supports initialization, following construction of an instance.
protected  void initialize(ObjectIdentifier oid)
          Supports initialization, following construction of an instance.
static AdminDomainRef newAdminDomainRef(AdminDomainRef ref)
          Copy constructor: constructs a new AdminDomainRef from the one passed as argument.
static AdminDomainRef newAdminDomainRef(AdministrativeDomain domain)
          Constructs an AdminDomainRef for the domain passed as argument.
static AdminDomainRef newAdminDomainRef(ObjectIdentifier oid)
          Copy constructor: constructs a new AdminDomainRef from the OID passed as argument.
 String toString()
          Constructs a string representation of the administrative domain reference.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

newAdminDomainRef

public static AdminDomainRef newAdminDomainRef(AdministrativeDomain domain)
                                        throws WTException
Constructs an AdminDomainRef for the domain passed as argument.

Supported API: true

Parameters:
domain -
Returns:
AdminDomainRef
Throws:
WTException

initialize

protected void initialize(AdministrativeDomain domain)
                   throws WTException
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

Supported API: true

Parameters:
domain -
Throws:
WTException

newAdminDomainRef

public static AdminDomainRef newAdminDomainRef(AdminDomainRef ref)
                                        throws WTException
Copy constructor: constructs a new AdminDomainRef from the one passed as argument.

Supported API: true

Parameters:
ref -
Returns:
AdminDomainRef
Throws:
WTException

initialize

protected void initialize(AdminDomainRef ref)
                   throws WTException
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

Supported API: true

Parameters:
ref -
Throws:
WTException

toString

public String toString()
Constructs a string representation of the administrative domain reference.

Supported API: true

Returns:
String

newAdminDomainRef

public static AdminDomainRef newAdminDomainRef(ObjectIdentifier oid)
                                        throws WTException
Copy constructor: constructs a new AdminDomainRef from the OID passed as argument.

Supported API: true

Parameters:
oid -
Returns:
AdminDomainRef
Throws:
WTException

initialize

protected void initialize(ObjectIdentifier oid)
                   throws WTException
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

Supported API: true

Parameters:
oid -
Throws:
WTException