|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
wt.fc.IdentityServiceEvent
The IdentityServiceEvent encapsulates identity change events. These
events are posted so that other classes can object to the change or synchronize
with the identity change.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private IdentificationObject |
identity
|
static String |
POST_CHANGE_IDENTITY
Supported API: false |
static String |
PRE_CHANGE_IDENTITY
Supported API: false |
private static String |
RESOURCE
|
private IdentityService |
service
|
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
IdentityServiceEvent(IdentityService service,
String event_type,
Identified target,
IdentificationObject identity)
Event constructor. |
|
IdentityServiceEvent(String event_type,
WTKeyedMap target)
Multi Object Event constructor. |
Method Summary | |
static String |
generateEventKey(String event_type)
Helper function used to generate the event key from the event type. |
IdentificationObject |
getIdentity()
Gets the value of the attribute: identity; Identification object that encapsulates the identity change. |
IdentityService |
getService()
Gets the value of the attribute: service. |
void |
setIdentity(IdentificationObject a_Identity)
Sets the value of the attribute: identity; Identification object that encapsulates the identity change. |
void |
setService(IdentityService a_Service)
Sets the value of the attribute: service. |
KeyedEvent |
toMultiObjectEvent()
Supported API: false |
KeyedEvent[] |
toSingleObjectEvents()
Supported API: false |
Methods inherited from class wt.events.KeyedEvent |
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, getEventTarget, getEventType, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private IdentityService service
private IdentificationObject identity
public static final String PRE_CHANGE_IDENTITY
public static final String POST_CHANGE_IDENTITY
Constructor Detail |
public IdentityServiceEvent(IdentityService service, String event_type, Identified target, IdentificationObject identity)
service
- event_type
- target
- identity
- public IdentityServiceEvent(String event_type, WTKeyedMap target)
WTKeyedMap
with the Identified object as map key and identificationobject as
map value.
event_type
- target
- Method Detail |
public IdentityService getService()
public void setService(IdentityService a_Service) throws WTPropertyVetoException
a_Service
-
WTPropertyVetoException
public IdentificationObject getIdentity()
public void setIdentity(IdentificationObject a_Identity) throws WTPropertyVetoException
a_Identity
-
WTPropertyVetoException
public static String generateEventKey(String event_type)
event_type
-
public KeyedEvent[] toSingleObjectEvents() throws WTException
toSingleObjectEvents
in class KeyedEvent
WTException
public KeyedEvent toMultiObjectEvent()
toMultiObjectEvent
in class KeyedEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |