public class AttributeRequest extends Object implements Serializable
Constructor and Description |
---|
AttributeRequest()
Required constructor in order to be a Java Bean.
|
AttributeRequest(String attributeName)
Convenience constructor that sets the attribute name only.
|
AttributeRequest(String attributeName,
AttributeRequest[] attributes)
Convenience constructor that sets both the attribute name and any
optional attribute requests.
|
Modifier and Type | Method and Description |
---|---|
String |
getAttributeName()
Returns the attribute name.
|
AttributeRequest[] |
getRequestedAttributes()
Returns the optional requested attributes.
|
void |
setAttributeName(String attributeName)
Sets the attribute name.
|
void |
setRequestedAttributes(AttributeRequest[] attributes)
Sets the optional requested attributes.
|
public AttributeRequest()
public AttributeRequest(String attributeName)
attributeName
- The attribute that is requested.public AttributeRequest(String attributeName, AttributeRequest[] attributes)
attributeName
- The attribute that is requested.attributes
- Any optional attributes that can be requested
for the value of this attribute, if the value
is a repository object which would be converted to
an Item
. Can be null
.public String getAttributeName()
public void setAttributeName(String attributeName)
public AttributeRequest[] getRequestedAttributes()
public void setRequestedAttributes(AttributeRequest[] attributes)
Copyright © 2023. All rights reserved.