|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.apelon.dts.client.association.Association
public abstract class Association
An association relates a concept or term to another concept or term. Associations fall into three main categories: concept associations, term assocations, and synonyms which are concept-term associations.
Copyright: Copyright (c) 2003
Company: Apelon, Inc.
| Constructor Summary | |
|---|---|
|
Association()
|
protected |
Association(AssociationType assocType,
DTSObject toItem)
Constructs an association from the association type and "to" item. |
protected |
Association(DTSObject fromItem,
AssociationType assocType)
Constructs an association from the "from" item and association type. |
protected |
Association(DTSObject fromItem,
AssociationType assocType,
DTSObject toItem)
Constructs an association from the "from" item, association type, and "to" item. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares this association to the specified object. |
AssociationType |
getAssociationType()
Gets type of association. |
DTSObject |
getFromItem()
Get "from" item of association. |
String |
getName()
Gets the name of the association type of this Association. |
protected DTSObject |
getToItem()
Get "to" item of association. |
String |
getValue()
Gets the String value of this Association. |
int |
hashCode()
Returns a hashcode for this association. |
void |
setAssociationType(AssociationType type)
Set type of association |
protected void |
setFromItem(DTSObject fromItem)
Set "from" item of association. |
protected void |
setToItem(DTSObject toItem)
Set "to" item of association. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Association()
protected Association(DTSObject fromItem,
AssociationType assocType,
DTSObject toItem)
fromItem - the from item of the associationassocType - the association typetoItem - the to item of the association
protected Association(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 Association(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 |
|---|
protected void setFromItem(DTSObject fromItem)
fromItem - from item of associationpublic DTSObject getFromItem()
public AssociationType getAssociationType()
public void setAssociationType(AssociationType type)
type - the type of associationpublic String getName()
Association.
Association.protected void setToItem(DTSObject toItem)
toItem - to item of associationprotected DTSObject getToItem()
public String getValue()
String value of this Association.
Association.public boolean equals(Object obj)
equals in class Objectobj - the object to compare this String
against.
true if the String are equal;
false otherwise.public int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||