|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.DefaultEntityKeyImpl
public class DefaultEntityKeyImpl
The default implementation for the EntityKeyInterface as supported by the various services.
| Constructor Summary | |
|---|---|
DefaultEntityKeyImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getEntityKey()
Gets the entity's key. |
boolean |
sameEntity(com.sas.entities.EntityKeyInterface entity)
Determines whether or not the specified entity has the same key as this entity. |
void |
setEntityKey(java.lang.String entityKey)
Set the unique entity key for the service. |
| Constructor Detail |
|---|
public DefaultEntityKeyImpl()
| Method Detail |
|---|
public java.lang.String getEntityKey()
throws java.rmi.RemoteException
getEntityKey in interface com.sas.entities.EntityKeyInterfacejava.rmi.RemoteException - if a network anomaly is encountered.
public void setEntityKey(java.lang.String entityKey)
throws java.rmi.RemoteException,
java.lang.IllegalStateException
setEntityKey in interface com.sas.entities.EntityKeyInterfaceentityKey - Unique entity key.
java.lang.IllegalStateException - if the unique entity key for
a service cannot be changed.
java.rmi.RemoteException - if a network anomaly is encountered.
public boolean sameEntity(com.sas.entities.EntityKeyInterface entity)
throws java.rmi.RemoteException
sameEntity in interface com.sas.entities.EntityKeyInterfaceentity - Entity whose key is to be compared to this key.
true if the keys are the same or
false if they aren't.
java.rmi.RemoteException - if a network anomaly is encountered.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||