|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.dtsrpc.client.AttributeSetDescriptor
An AttributeSetDescriptor is a description of the set of Concept attributes that
should be retrieved by a given operation.
A Concept attribute is either a NCIRole
or a NCIProperty.
A typical use of an AttributeSetDescriptor by an application program would be to specify
the set of Concept attributes to be retrieved for the application under various circumstances.
For example: One example would be to define an AttributeSetDescriptor instance
PHARMACY_ORDER_ATTRIBUTES that would specify the set of attributes needed to populate
the application's Pharmacy order page. Then PHARMACY_ORDER_ATTRIBUTES would be passed to any
operation performed in support of the Pharmacy order page to ensure that the right set of
attributes (e.g. the NDC_Number property, the DoseForm role, etc.) was retrieved.
| Field Summary | |
static AttributeSetDescriptor |
ALL_ATTRIBUTES
ALL_ATTRIBUTES is a special AttributeSetDescriptor that will cause all attributes of a concept to be fetched. |
static AttributeSetDescriptor |
ALL_PROPERTIES
ALL_PROPERTIES is a special AttributeSetDescriptor that will cause all properties of a concept to be fetched. |
static AttributeSetDescriptor |
ALL_ROLES
ALL_ROLES is a special AttributeSetDescriptor that will cause all roles of a concept to be fetched. |
static AttributeSetDescriptor |
NO_ATTRIBUTES
NO_ATTRIBUTES is a special AttributeSetDescriptor that will cause no attributes of a concept to be fetched. |
static int |
WITH_ALL_ATTRIBUTES
A static constant, 1 |
static int |
WITH_ALL_PROPERTIES
A static constant, 3 |
static int |
WITH_ALL_ROLES
A static constant, 2 |
static int |
WITH_NO_ATTRIBUTES
A static constant, 0 |
| Constructor Summary | |
AttributeSetDescriptor(java.lang.String name)
Constructs an AttributeSetDescriptor with the given name. |
|
| Method Summary | |
void |
addProperty(java.lang.String name)
Adds a property to the set of attributes that will be retrieved by any operation that uses this AttributeSetDescriptor. |
void |
addRole(java.lang.String name)
Adds a role to the set of attributes that will be retrieved by any operation that uses this AttributeSetDescriptor. |
java.lang.String |
getName()
Gets the name of the AttributeSetDescriptor. |
java.util.Vector |
getProperties()
Gets names of properties that will be retrieved by any operation that uses this AttributeSetDescriptor. |
java.util.Vector |
getRoles()
Gets the names of roles that will be retrieved by any operation that uses this AttributeSetDescriptor. |
java.lang.String |
toString()
Gets the string representation of the AttributeSetDescriptor object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final AttributeSetDescriptor ALL_ATTRIBUTES
public static final AttributeSetDescriptor ALL_PROPERTIES
public static final AttributeSetDescriptor ALL_ROLES
public static final AttributeSetDescriptor NO_ATTRIBUTES
public static final int WITH_NO_ATTRIBUTES
public static final int WITH_ALL_ATTRIBUTES
public static final int WITH_ALL_ROLES
public static final int WITH_ALL_PROPERTIES
| Constructor Detail |
public AttributeSetDescriptor(java.lang.String name)
name - - name of the AttributeSetDescriptor.| Method Detail |
public java.lang.String getName()
public void addProperty(java.lang.String name)
name - the property name which is added.public void addRole(java.lang.String name)
name - the role name which is added.public java.util.Vector getProperties()
public java.util.Vector getRoles()
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||