public final class PropertyNameList extends Object implements PropertyRequestItem
Modifier and Type | Class and Description |
---|---|
static class |
PropertyNameList.PropertyName<T>
The name of a property of a persistent resource.
|
PropertyRequestItem.NestedPropertyName<T>, PropertyRequestItem.PropertyRequest
Constructor and Description |
---|
PropertyNameList(PropertyNameList.PropertyName<?>... propertyNames)
Construct a PropertyNameList from an array of property names.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one.
|
PropertyNameList.PropertyName<?>[] |
getPropertyNames()
Get an array of property names from a property name list.
|
int |
hashCode()
Calculate a hash code for a PropertyNameList.
|
String |
toString()
Returns a string representation of this PropertyNameList suitable for
diagnostics.
|
public PropertyNameList(PropertyNameList.PropertyName<?>... propertyNames)
propertyNames
- an array of property names, or null.
Passing null is equivalent to passing an empty array.public boolean equals(Object o)
equals
in class Object
o
- the object to compare with.public PropertyNameList.PropertyName<?>[] getPropertyNames()
null
.public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
Copyright © IBM 2017. All rights reserved.