|
Project: stp | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectjavax.wvcm.PropertyNameList.PropertyName<T>
public static class PropertyNameList.PropertyName<T>
The name of a property of a persistent resource. The PropertyName type parameter specifies the type of the value of the PropertyName
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.wvcm.PropertyRequestItem |
|---|
PropertyRequestItem.NestedPropertyName<T>, PropertyRequestItem.PropertyRequest |
| Constructor Summary | |
|---|---|
PropertyNameList.PropertyName(String namespace,
String name)
Create a PropertyName with the given namespace and name. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
String |
getName()
Get the property name. |
String |
getNamespace()
Get the namespace of the property name. |
int |
hashCode()
Calculate a hash code value for the object. |
PropertyRequestItem.NestedPropertyName<T> |
nest(PropertyNameList.PropertyName<?>[] pnl)
A convenience method for constructing nested property names from a PropertyName[] without requiring an explicit cast to PropertyRequestItem[] |
PropertyRequestItem.NestedPropertyName<T> |
nest(PropertyRequestItem... pnl)
Constructs a NestedPropertyName whose root property is this PropertyName with the property request items supplied as arguments as its nested property request. |
PropertyRequestItem.NestedPropertyName<T> |
nest(PropertyRequestItem.NestedPropertyName<?>[] pnl)
A convenience method for constructing nested property names from a NestedPropertyName[] without requiring an explicit cast to PropertyRequestItem[] |
String |
toString()
Returns a string representation of the PropertyName for diagnostic purposes. |
| Methods inherited from class Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyNameList.PropertyName(String namespace,
String name)
namespace - the namespace for this PropertyName.
May be null to indicate a system property, or non-null
to indicate a property in the specified name space.name - the name for this property. May not be null.| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objecto - the object to compare with.
public String getName()
public String getNamespace()
public int hashCode()
hashCode in class Objectpublic PropertyRequestItem.NestedPropertyName<T> nest(PropertyNameList.PropertyName<?>[] pnl)
pnl - A PropertyName[] that specifies the nested properties of
the NestedPropertyName to be constructed
public PropertyRequestItem.NestedPropertyName<T> nest(PropertyRequestItem... pnl)
final static PropertyRequest WORKSPACE_PROPERTIES =
new PropertyRequest(
Workspace.DISPLAY_NAME,
Workspace.COMMENT,
Workspace.ACTIVITY_LIST.nest(
Activity.DISPLAY_NAME,
Activity.ACTIVITY_VERSION_LIST.nest(
Version.DISPLAY_NAME,
Version.COMMENT,
Version.CREATION_DATE)));
pnl - An array of PropertyRequestItem objects that specify the
properties to be requested from the value of the property
identified by this PropertyName.
public PropertyRequestItem.NestedPropertyName<T> nest(PropertyRequestItem.NestedPropertyName<?>[] pnl)
pnl - A NestedPropertyName[] that specifies the nested
properties of the NestedPropertyName to be constructed
public String toString()
toString in class ObjectObject.toString()
|
Generated Thu 15-Aug-2013 02:30 AM | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||