|
||||||||||
| 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.DTSPropertyType
public class DTSPropertyType
A property can reference user-defined information. Each property is defined by a name (definition) called the property type. When a property (type) is assigned to a concept, a value can be linked to the property that is specific to its association with the individual concept.
Copyright: Copyright (c) 2003
Company: Apelon, Inc.
DTSProperty| Constructor Summary | |
|---|---|
DTSPropertyType()
|
|
DTSPropertyType(String name,
int namespaceId,
PropertyValueSize valueSize,
ModifiesItemType attachesTo,
boolean isWordSearchable)
Constructs a new PropertyType for concepts or terms: the id and code for this type are generated when it is added to the server. |
|
DTSPropertyType(String name,
int id,
String code,
int namespaceId,
PropertyValueSize valueSize,
ModifiesItemType attachesTo,
boolean isWordSearchable)
Constructs a new PropertyType for concepts or terms. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone this DTSPropertyType object. |
boolean |
equals(Object obj)
Compares this property type to the specified object. |
ModifiesItemType |
getAttachesTo()
Retrieves type of item the property attaches to. |
PropertyValueSize |
getValueSize()
Gets the size category of the property value: indexable property, searchable property, or big property |
boolean |
isWordSearchable()
Indicates whether an index has been created that allows the property values to be searched for words no matter in what order or where the words are found. |
void |
setAttachesTo(ModifiesItemType newAttachesTo)
Sets type of item the property attaches to. |
void |
setValueSize(PropertyValueSize newValueSize)
Sets size category of the property value: indexable property, searchable property, or big property. |
| 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 DTSPropertyType()
public DTSPropertyType(String name,
int id,
String code,
int namespaceId,
PropertyValueSize valueSize,
ModifiesItemType attachesTo,
boolean isWordSearchable)
name - the property's nameid - the property's IDcode - the property's codenamespaceId - the ID of the property type's namespacevalueSize - the property value's size category:
indexable, searchable, bigattachesTo - type of item which the property modifies:
concept or termisWordSearchable - indicates if the property has an index that
enables word searching (independent of word
order)
public DTSPropertyType(String name,
int namespaceId,
PropertyValueSize valueSize,
ModifiesItemType attachesTo,
boolean isWordSearchable)
name - the property's namenamespaceId - the ID of the property type's namespacevalueSize - the property value's size category:
indexable, searchable, bigattachesTo - type of item which the property modifies:
concept or termisWordSearchable - indicates if the property has an index that
enables word searching (independent of word
order)| Method Detail |
|---|
public Object clone()
throws CloneNotSupportedException
DTSPropertyType object.
clone in class ObjectCloneNotSupportedException - if unable to create a clonepublic void setAttachesTo(ModifiesItemType newAttachesTo)
newAttachesTo - ModifiesItemType indicating item
modified: concept or termpublic ModifiesItemType getAttachesTo()
ModifiesItemType indicating item modified:
concept or termpublic void setValueSize(PropertyValueSize newValueSize)
newValueSize - PropertyValueSize indicating size
categorypublic PropertyValueSize getValueSize()
PropertyValueSize for property value size categorypublic boolean isWordSearchable()
true if a property word search can be done;
otherwise falsepublic boolean equals(Object obj)
equals in class DTSObjectobj - object to compare with
true if the object is equal to this
DTSPropertyType; false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||