|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.apelon.dts.common.subset.Subset
public class Subset
This class represents the definition of a subset.
A subset expression is a XML representation of DefaultMutableTreeNode created
using XMLEncoder. The following table describes the node content and relationship
to create the hierarchy which a subset expression represents:
Node |
userObject |
child |
|---|---|---|
| Root | "DTS Concepts" | Namespace Node |
| Namespace Node | NamespaceFilter |
Concept Filter Node, Concept Node, Exclude Node |
| Concept Filter Node | OntylogConceptFilter
with modifier other than ONLY,
PropertyFilter,
ConceptNameFilter
|
Concept Filter Node, Concept Node, Exclude Node |
| Concept Node | OntylogConceptFilter
with modifier as ONLY
|
|
| Exclude Node | "EXCLUDE" | Concept Filter Node, Concept Node |
If the Subset is created in SecuredSocket mode, getCreatedBy() returns the DTS user name. If the Subset
is modified last using SecuredSocket mode,getModifiedBy() returns the DTS user name.
Copyright: Copyright (c) 2004
Company: Apelon, Inc.
| Constructor Summary | |
|---|---|
Subset()
|
|
| Method Summary | |
|---|---|
int |
getConceptCount()
Returns the total number of concepts that belong to this subset as of last build. |
String |
getCreatedBy()
Returns the DTS user who created the subset if the Subset is created in secure socket mode. |
long |
getCreatedTime()
Returns the date and time when this subset was created. |
long |
getDataCreatedTime()
Returns the data and time of the last build. |
String |
getDescription()
Returns description of this subset. |
String |
getExpression()
Returns the expression of the Subset. |
int |
getId()
Returns ID of the Subset |
String |
getModifiedBy()
Returns the DTS user who last modifed the subset expression. |
long |
getModifiedTime()
Returns the date and time when the subset expression was modified. |
String |
getName()
Retruns the name of the Subset |
void |
setConceptCount(int conceptCount)
Sets the total number of concepts in this subset. |
void |
setCreatedBy(String createdBy)
Sets the DTS user who creates this subset |
void |
setCreatedTime(long createdTime)
Sets the creation time for the Subset. |
void |
setDataCreatedTime(long dataCreatedTime)
Sets the build time of this subset. |
void |
setDescription(String description)
Sets the description for this subset |
void |
setExpression(String expression)
Sets the expression of the Subset. |
void |
setId(int id)
Sets the ID for this Subset. |
void |
setModifiedBy(String modifiedBy)
Sets the DTS user who modified the subset expression. |
void |
setModifiedTime(long modifiedTime)
Sets the modification time of the subset expression. |
void |
setName(String name)
Sets the name for the Subset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Subset()
| Method Detail |
|---|
public int getId()
public void setId(int id)
id - any integerSubsetQuery.add(Subset)public String getName()
public void setName(String name)
name - public String getExpression()
DefaultMutableTreeNode can be created using XMLDecoder.
public void setExpression(String expression)
Subset Expression is XML representation of DefaultMutableTreeNode created
using XMLEncoder. See header for details about the rules.
expression - public String getCreatedBy()
ServerConnectionpublic void setCreatedBy(String createdBy)
createdBy - DTS Userpublic long getCreatedTime()
public String getModifiedBy()
public void setModifiedBy(String modifiedBy)
modifiedBy - A DTS user namepublic void setCreatedTime(long createdTime)
This method should not be used. This is used internally by the API. Any other calls will be overriden.
createdTime - public long getModifiedTime()
public void setModifiedTime(long modifiedTime)
This method should not be used. This is used internally by the API. Any other calls will be overriden.
modifiedTime - public int getConceptCount()
public void setConceptCount(int conceptCount)
This method should not be used. This is used internally by the API. Any other calls will be overriden.
conceptCount - public long getDataCreatedTime()
public void setDataCreatedTime(long dataCreatedTime)
This method should not be used. This is used internally by the API. Any other calls will be overriden.
dataCreatedTime - public String getDescription()
public void setDescription(String description)
description -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||