jade.core
Class PlatformID

java.lang.Object
  |
  +--jade.core.PlatformID
All Implemented Interfaces:
Concept, Location, Serializable, java.io.Serializable, Term

public class PlatformID
extends java.lang.Object
implements Location

Description here

Author:
Joan Ametller Esquerra, Carles Garrigues, Jordi Cucurull Juan
See Also:
Serialized Form

Constructor Summary
PlatformID()
           
PlatformID(AID amsAID)
           
 
Method Summary
 java.lang.String getAddress()
          Read the address for a location.
 AID getAmsAID()
           
 java.lang.String getID()
          Read a unique ID for the location.
 java.lang.String getName()
          Read the name of a location.
 java.lang.String getProtocol()
          Read the protocol for a location.
 void setAddress(java.lang.String address)
           
 void setAmsAID(AID amsAID)
           
 void setID(java.lang.String id)
           
 void setName(java.lang.String name)
           
 void setProtocol(java.lang.String protocol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformID

public PlatformID()

PlatformID

public PlatformID(AID amsAID)
Method Detail

getID

public java.lang.String getID()
Description copied from interface: Location
Read a unique ID for the location.

Specified by:
getID in interface Location
Returns:
A String representing the location.

getName

public java.lang.String getName()
Description copied from interface: Location
Read the name of a location.

Specified by:
getName in interface Location
Returns:
A name for this location. The name has only a local meaning.

getProtocol

public java.lang.String getProtocol()
Description copied from interface: Location
Read the protocol for a location.

Specified by:
getProtocol in interface Location
Returns:
The name of the protocol used to reach this location.

getAddress

public java.lang.String getAddress()
Description copied from interface: Location
Read the address for a location.

Specified by:
getAddress in interface Location
Returns:
The transport address of this location (in the specified protocol).

getAmsAID

public AID getAmsAID()

setID

public void setID(java.lang.String id)

setName

public void setName(java.lang.String name)

setProtocol

public void setProtocol(java.lang.String protocol)

setAddress

public void setAddress(java.lang.String address)

setAmsAID

public void setAmsAID(AID amsAID)


JADE