|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.apelon.dts.client.association.Association com.apelon.dts.client.association.QualifiedAssociation com.apelon.dts.client.association.TermAssociation
public class TermAssociation
TermAssociation relates a term to another term.
Copyright: Copyright (c) 2003
Company: Apelon, Inc.
Constructor Summary | |
---|---|
TermAssociation()
|
|
TermAssociation(AssociationType assocType,
Term toTerm)
Constructs an association from the association type and "to" term. |
|
TermAssociation(Term fromTerm,
AssociationType assocType)
Constructs an association from the "from" term and association type. |
|
TermAssociation(Term fromTerm,
AssociationType assocType,
Term toTerm)
Constructs an association from the "from" term, association type, and "to" term. |
Method Summary | |
---|---|
Term |
getFromTerm()
Get "from" term of association. |
Term |
getToTerm()
Get "to" term of association. |
void |
setFromTerm(Term fromTerm)
Set "from" term of association. |
void |
setToTerm(Term toTerm)
Set "to" term of association. |
Methods inherited from class com.apelon.dts.client.association.QualifiedAssociation |
---|
addQualifier, containsQualifier, deleteQualifier, getFetchedQualifiers, getToItem, isLocalAddition, setFromItem, setLocalAddition, setToItem |
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 TermAssociation()
public TermAssociation(Term fromTerm, AssociationType assocType, Term toTerm)
fromTerm
- the "from" term of the association.assocType
- the association type.toTerm
- the "to" term of the association.public TermAssociation(AssociationType assocType, Term toTerm)
Term
. When using this
constructor you will also need to issue setFromTerm(com.apelon.dts.client.term.Term)
before
using the object.
assocType
- the association typetoTerm
- the to term of the associationpublic TermAssociation(Term fromTerm, AssociationType assocType)
Term
. When using this
constructor you will also need to issue setToTerm(com.apelon.dts.client.term.Term)
before using the
object.
fromTerm
- the from term of the associationassocType
- the association typeMethod Detail |
---|
public void setFromTerm(Term fromTerm)
fromTerm
- from term of associationpublic Term getFromTerm()
public void setToTerm(Term toTerm)
toTerm
- to term of associationpublic Term getToTerm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |