|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.policy.entity.AbstractEntity
edu.isi.policy.entity.Transfer
public final class Transfer
Defines a transfer that is being sent to the policy service for advice.
| Constructor Summary | |
|---|---|
Transfer()
Default constructor. |
|
Transfer(java.lang.String source,
java.lang.String destination)
|
|
Transfer(java.lang.String id,
java.net.URI source,
java.net.URI destination)
Constructs a new transfer object. |
|
Transfer(java.net.URI source,
java.net.URI destination)
|
|
| Method Summary | |
|---|---|
int |
compareTo(Transfer t)
|
boolean |
equals(java.lang.Object o)
|
java.net.URI |
getDestination()
|
java.net.URI |
getSource()
|
void |
setDestination(java.net.URI destination)
Sets the destination of the transfer. |
void |
setSource(java.net.URI source)
Sets the source of the transfer. |
java.lang.String |
toString()
|
| Methods inherited from class edu.isi.policy.entity.AbstractEntity |
|---|
getId, getProperties, getProperty, hasId, setId, setProperties, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Transfer()
public Transfer(java.lang.String id,
java.net.URI source,
java.net.URI destination)
id - the unique identifier of this transfer.source - the source of the transfer.destination - the destination of the transfer.
public Transfer(java.net.URI source,
java.net.URI destination)
public Transfer(java.lang.String source,
java.lang.String destination)
throws java.net.URISyntaxException
java.net.URISyntaxException| Method Detail |
|---|
public void setSource(java.net.URI source)
source - public void setDestination(java.net.URI destination)
destination - public java.net.URI getSource()
public java.net.URI getDestination()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int compareTo(Transfer t)
compareTo in interface java.lang.Comparable<Transfer>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||