|
||||||||||
| 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.PropertiedObject
public abstract class PropertiedObject
This class provides methods common to objects which have properties:
DTSConcepts and
Terms.
Copyright: Copyright (c) 2003
Company: Apelon, Inc.
| Constructor Summary | |
|---|---|
|
PropertiedObject()
|
protected |
PropertiedObject(String name,
int id,
String code,
int namespaceId)
Contructs a PropertiedObject which has a name, code, ID, and namespace ID. |
| Method Summary | |
|---|---|
boolean |
addProperty(DTSProperty prop)
Adds the specified element as property for this item. |
boolean |
containsProperty(DTSProperty prop)
Tests if this item already has the specified property. |
boolean |
deleteProperty(DTSProperty prop)
Deletes the specified element as property for this item. |
DTSProperty[] |
getFetchedProperties()
Gets the properties which have been retrieved for this item. |
int |
getNumberOfSpecifiedProperties()
Get the number of properties that are available of the types specified in the ConceptAttributeSetDescriptor or
TermAttributeSetDescriptor used to
obtain this DTSConcept or
Term, respectively. |
DTSProperty[] |
getProperties()
|
void |
setProperties(DTSProperty[] props)
|
| Methods inherited from class com.apelon.dts.client.common.DTSObject |
|---|
equals, getCode, getId, getName, getNamespaceId, hashCode, setCode, setId, setName, setNamespaceId, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiedObject()
protected PropertiedObject(String name,
int id,
String code,
int namespaceId)
name - the name of the PropertiedObjectid - the ID string of the PropertiedObjectcode - the code of the PropertiedObjectnamespaceId - the numerical ID of the PropertiedObject's namespace| Method Detail |
|---|
public boolean addProperty(DTSProperty prop)
prop - DTSProperty to add
false if the item already had the property;
true if the property was addedpublic boolean containsProperty(DTSProperty prop)
prop - the DTSProperty to test
true if this item contains the
property argument; otherwise falsepublic boolean deleteProperty(DTSProperty prop)
prop - DTSProperty to delete
true if removed successfully; otherwise
falsepublic DTSProperty[] getFetchedProperties()
public DTSProperty[] getProperties()
public void setProperties(DTSProperty[] props)
public int getNumberOfSpecifiedProperties()
ConceptAttributeSetDescriptor or
TermAttributeSetDescriptor used to
obtain this DTSConcept or
Term, respectively.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||