|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.apelon.dts.client.events.DataChangeEvent
com.apelon.dts.client.events.ConceptEvent
public class ConceptEvent
An event which indicates that a concept action occurred.
A concept action is considered to occur in either of the following situation:
| Field Summary |
|---|
| Fields inherited from class com.apelon.dts.client.events.DataChangeEvent |
|---|
EVENT_TYPE_DELETE, EVENT_TYPE_FIRST, EVENT_TYPE_LAST, EVENT_TYPE_MODIFY, EVENT_TYPE_NEW, INVALID_TYPE_EVENT |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ConceptEvent(Object source,
DTSConcept concept,
int eventType,
ConceptAttributeChange attributeChange)
Constructs a ConceptEvent object. |
|
| Method Summary | |
|---|---|
ConceptAttributeChange |
getAttributeChange()
Get the Concept Attribute Change when a concept is modified. |
DTSConcept |
getConcept()
Get the concept which has changed. |
boolean |
isConceptAffected(DTSConcept concept)
A method to check if a concept is affected by this concept action. |
boolean |
isTermAffected(Term term)
A method to check if a term is affected by this concept action. |
| Methods inherited from class com.apelon.dts.client.events.DataChangeEvent |
|---|
getChangedData, getEventType, getNewData, getOldData |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConceptEvent(Object source,
DTSConcept concept,
int eventType,
ConceptAttributeChange attributeChange)
source - Should be an object that is a valid source of Concept events.concept - The concept which has changed. In the case of modifiy, this should be the concept after change.eventType - If adding a new concept, the eventType should be DataChangeEvent.EVENT_TYPE_NEW
If modifying a concept, the eventType should be DataChangeEvent.EVENT_TYPE_MODIFY
If deleting a concept, the eventType should be DataChangeEvent.EVENT_TYPE_DELETEattributeChange - If the concept is modified, attributeChange contains the attributes changes information;
If the concept is added or is deleted, attributeChange should be null.ConceptListener,
DTSEventMulticaster,
ConceptAttributeChange,
DataChangeEvent| Method Detail |
|---|
public ConceptAttributeChange getAttributeChange()
public DTSConcept getConcept()
public boolean isConceptAffected(DTSConcept concept)
concept - the concept to be checked.
public boolean isTermAffected(Term term)
term - the term to be checked.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||