public class AttributeRef
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AttributeRef.FilterType
Attribute filter type.
|
Constructor and Description |
---|
AttributeRef(java.lang.String name)
Constructs the Attribute reference.
|
AttributeRef(java.lang.String name, boolean defaultFetch, AttributeRef.FilterType filterType)
Constructs the Attribute reference
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Checks if the given object is equals to this one
|
AttributeRef.FilterType |
getFilterType()
Gets the attribute filter type.
|
java.lang.String |
getName()
Gets attribute name
|
boolean |
isDefaultFetch()
Gets the defaultFetch value.
|
void |
setDefaultFetch(boolean defaultFetch)
Sets the defaultFetch value
|
void |
setFilterType(AttributeRef.FilterType filterType)
Sets the attribute filter type
|
public AttributeRef(java.lang.String name, boolean defaultFetch, AttributeRef.FilterType filterType)
name
- Name of the attributedefaultFetch
- Fetch this attribute in read and search methods by default ?filterType
- Valid filter typepublic AttributeRef(java.lang.String name)
AttributeRef.FilterType.DYNAMIC
and for defaultFetch is true.name
- Name of the attributepublic java.lang.String getName()
public void setDefaultFetch(boolean defaultFetch)
defaultFetch
- true if the attribute to be fetched by default in read/search methods ; false otherwisepublic boolean isDefaultFetch()
public void setFilterType(AttributeRef.FilterType filterType)
filterType
- valid filter typepublic AttributeRef.FilterType getFilterType()
AttributeRef.FilterType.DYNAMIC
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object