ADK CVS

tryllian.are
Class HabitatInfo

java.lang.Object
  extended bytryllian.are.HabitatInfo
All Implemented Interfaces:
java.io.Serializable

public class HabitatInfo
extends java.lang.Object
implements java.io.Serializable

A central registration record for a habitat known to the current habitat.

See Also:
Serialized Form

Constructor Summary
HabitatInfo(IDReference id)
          Constructs a new HabitatInfo record.
 
Method Summary
 java.lang.String[] getEndpoints()
          Returns the endpoint arry for this habitat.
 IDReference getHabitatID()
           
 java.lang.String[] getHabitatNames()
          Retrieve the names of this habitat.
 void setEndpoints(java.lang.String[] endpoints)
          Set the endpoint array for this habitat.
 void setHabitatID(IDReference id)
           
 void setHabitatNames(java.lang.String[] names)
          Set the names of this habitat.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HabitatInfo

public HabitatInfo(IDReference id)
Constructs a new HabitatInfo record.

Parameters:
id - The IDReference of the habitat
Method Detail

getHabitatID

public IDReference getHabitatID()

setHabitatNames

public void setHabitatNames(java.lang.String[] names)
Set the names of this habitat.


getHabitatNames

public java.lang.String[] getHabitatNames()
Retrieve the names of this habitat.


setHabitatID

public void setHabitatID(IDReference id)

setEndpoints

public void setEndpoints(java.lang.String[] endpoints)
Set the endpoint array for this habitat. This is an array of strings containing ip addresses and hostnames and ports that identify a habitat.


getEndpoints

public java.lang.String[] getEndpoints()
Returns the endpoint arry for this habitat. This is an arry of strings containing ip address and hostnames and ports that identify a habitat.


toString

public java.lang.String toString()

Copyright 2005, Tryllian Solutions B.V.