|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.apelon.dts.client.attribute.DTSQualifier
public class DTSQualifier
Qualifiers of a defined QualifierType
have a value and are attached
to a ConceptAssociation
,
TermAssociation
, or concept or term
property DTSProperty
. These are intended to provide additional
information about the item to which they are attached.
Copyright: Copyright (c) 2003
Company: Apelon, Inc.
Constructor Summary | |
---|---|
DTSQualifier(QualifierType qualifierType,
String value)
Constructor |
|
DTSQualifier(QualifierType qualifierType,
String value,
boolean localAddition)
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Compares this qualifier to the specified object. |
String |
getName()
Gets the name of the DTSQualifier. |
QualifierType |
getQualifierType()
Gets the QualifierType of the DTSQualifier. |
String |
getValue()
Gets the value of the DTSQualifier. |
int |
hashCode()
Returns a hash code for this DTSQualifier. |
boolean |
isLocalAddition()
Indicates if this qualifier is a local addition, i.e. |
void |
setLocalAddition(boolean localAddition)
Sets the local addition indicator. |
void |
setQualifierType(QualifierType newQualifierType)
Sets the QualifierType of the DTSQualifier. |
void |
setValue(String newValue)
Sets the value of the DTSQualifier. |
String |
toString()
Returns description of DTSQualifier |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DTSQualifier(QualifierType qualifierType, String value)
qualifierType
- qualifier typevalue
- qualifier valuepublic DTSQualifier(QualifierType qualifierType, String value, boolean localAddition)
qualifierType
- qualifier typevalue
- qualifier valuelocalAddition
- indicator whether this is a local addition to
subscription contentMethod Detail |
---|
public QualifierType getQualifierType()
QualifierType
of the DTSQualifier.
public void setQualifierType(QualifierType newQualifierType)
QualifierType
of the DTSQualifier.
newQualifierType
- the new QualifierType of the DTSQualifierpublic String getName()
getName
in interface DTSAttribute
public String getValue()
getValue
in interface DTSAttribute
public void setValue(String newValue)
newValue
- the new value of the DTSQualifierpublic boolean isLocalAddition()
true
if this qualifier is a local addition to a
subscription concept or term; false
if not.public void setLocalAddition(boolean localAddition)
localAddition
- true
if this qualifier is a local
addition to a subscription concept or
term; false
if not.public boolean equals(Object obj)
equals
in class Object
obj
- the object to compare this
DTSQualifier
against.
true
if the object is equal to the DTSQualifier;
false
otherwise.public int hashCode()
hashCode
in class Object
public String toString()
DTSQualifier
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |