|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.apelon.dts.client.association.Association
com.apelon.dts.client.association.QualifiedAssociation
public abstract class QualifiedAssociation
This class provides methods common to Associations which
have qualifiers: ConceptAssociations and
TermAssociations.
Copyright: Copyright (c) 2003
Company: Apelon, Inc.
| Constructor Summary | |
|---|---|
|
QualifiedAssociation()
|
protected |
QualifiedAssociation(AssociationType assocType,
DTSObject toItem)
Constructs an association from the association type and "to" item. |
protected |
QualifiedAssociation(DTSObject fromItem,
AssociationType assocType)
Constructs an association from the "from" item and association type. |
protected |
QualifiedAssociation(DTSObject fromItem,
AssociationType assocType,
DTSObject toItem)
Constructs an association from the "from" item, association type, and "to" item. |
| Method Summary | |
|---|---|
boolean |
addQualifier(DTSQualifier qualifier)
Adds the specified element as qualifier for this association. |
boolean |
containsQualifier(DTSQualifier qualifier)
Tests if this association already has the specified qualifier. |
boolean |
deleteQualifier(DTSQualifier qualifier)
Deletes the specified element as qualifier for this association. |
DTSQualifier[] |
getFetchedQualifiers()
Returns array of qualifiers that have been retrieved for this association. |
DTSObject |
getToItem()
Get "to" item of qualified association. |
boolean |
isLocalAddition()
Indicates if this association is a local addition to subscription content, i.e. |
void |
setFromItem(DTSObject fromItem)
Set "from" item of qualified association. |
void |
setLocalAddition(boolean localAddition)
Sets the local addition indicator. |
void |
setToItem(DTSObject toItem)
Set "to" item of qualified association. |
| Methods inherited from class com.apelon.dts.client.association.Association |
|---|
equals, getAssociationType, getFromItem, getName, getValue, hashCode, setAssociationType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QualifiedAssociation()
protected QualifiedAssociation(DTSObject fromItem,
AssociationType assocType,
DTSObject toItem)
fromItem - the from item of the associationassocType - the association typetoItem - the to item of the association
protected QualifiedAssociation(AssociationType assocType,
DTSObject toItem)
DTSConcept or
Term. When using this constructor you
will also need to issue setFromItem(com.apelon.dts.client.common.DTSObject) before using the object.
assocType - the association typetoItem - the to item of the association
protected QualifiedAssociation(DTSObject fromItem,
AssociationType assocType)
DTSConcept or
Term. When using this constructor you
will also need to issue setToItem(com.apelon.dts.client.common.DTSObject) before using the object.
fromItem - the from item of the associationassocType - the association type| Method Detail |
|---|
public DTSQualifier[] getFetchedQualifiers()
getFetchedQualifiers in interface QualifiedObjectDTSQualifiers.public boolean addQualifier(DTSQualifier qualifier)
addQualifier in interface QualifiedObjectqualifier - DTSQualifier to add
false if the association already had the
qualifier; true if the qualifier was addedpublic boolean containsQualifier(DTSQualifier qualifier)
containsQualifier in interface QualifiedObjectqualifier - the DTSQualifier to test
true if this association contains the
qualifier argument; otherwise falsepublic boolean deleteQualifier(DTSQualifier qualifier)
deleteQualifier in interface QualifiedObjectqualifier - DTSQualifier to be removed
true if removed successfully; otherwise
falsepublic void setFromItem(DTSObject fromItem)
setFromItem in class AssociationfromItem - from item of associationpublic void setToItem(DTSObject toItem)
setToItem in class AssociationtoItem - to item of associationpublic DTSObject getToItem()
getToItem in class Associationpublic boolean isLocalAddition()
true if this association is a local addition to
subscription content; false if not.public void setLocalAddition(boolean localAddition)
localAddition - true if this association is a
local addition to subscription content;
false if not.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||