|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.apelon.dts.client.common.DTSObject
com.apelon.dts.client.attribute.QualifierType
public class QualifierType
QualifierType defines a qualifier, which has a name. Qualifiers of a defined QualifierType can have a value and are attached to associations, and concept and term properties. These are intended to provide additional information about the item to which they are attached.
Copyright: Copyright (c) 2003
Company: Apelon, Inc.
| Constructor Summary | |
|---|---|
QualifierType(String name,
int namespaceId,
QualifiesItemType qualifies)
Constructs a new QualifierType of the given name, and namespace: the id and code for this type will be generated when it is added to the server. |
|
QualifierType(String name,
int id,
String code,
int namespaceId,
QualifiesItemType qualifies)
Constructs a new QualifierType of the given name, ID, code and namespace. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone this QualifierType object. |
boolean |
equals(Object obj)
Compares this qualifier type to the specified object. |
QualifiesItemType |
getQualifies()
Gets a QualifiesItemType indicating what the qualifier
qualifies. |
void |
setQualifies(QualifiesItemType newQualifies)
Sets a QualifiesItemType indicating what the qualifier
qualifies. |
| Methods inherited from class com.apelon.dts.client.common.DTSObject |
|---|
getCode, getId, getName, getNamespaceId, hashCode, setCode, setId, setName, setNamespaceId, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QualifierType(String name,
int id,
String code,
int namespaceId,
QualifiesItemType qualifies)
name - the qualifier type's nameid - the qualifier type's IDcode - the qualifier type's codenamespaceId - the ID of the qualifier type's namespacequalifies - QualifiesItemType indicating what the
qualifier qualifies:
-- an association between two concepts
-- an association between two terms
-- a property attached to a concept
-- a property attached to a term
public QualifierType(String name,
int namespaceId,
QualifiesItemType qualifies)
name - the qualifier type's namenamespaceId - the ID of the qualifier type's namespacequalifies - QualifiesItemType indicating what the
qualifier qualifies:
-- an association between two concepts
-- an association between two terms
-- a property attached to a concept
-- a property attached to a term| Method Detail |
|---|
public Object clone()
throws CloneNotSupportedException
QualifierType object.
clone in class ObjectCloneNotSupportedException - if unable to create a clonepublic void setQualifies(QualifiesItemType newQualifies)
QualifiesItemType indicating what the qualifier
qualifies.
newQualifies - QualifiesItemType indicating the kind of
association or property qualifiedpublic QualifiesItemType getQualifies()
QualifiesItemType indicating what the qualifier
qualifies.
public boolean equals(Object obj)
equals in class DTSObjectobj - object to compare with
true if the object is equal to this
QualifierType; false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||