public class IdentityAttributePath
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
IdentityAttributePath(SCIMPath scimPath) |
| Modifier and Type | Method and Description |
|---|---|
static IdentityAttributePath |
build(java.lang.String attribute)
Returns an attribute path instance composed of a single attribute name (e.g: fullName)
|
static IdentityAttributePath |
build(java.lang.String attribute,
java.lang.String subAttribute)
Returns an attribute path instance composed of a single attribute name and a single sub-attribute for that
attribute (e.g: name.givenName)
|
static IdentityAttributePath |
build(java.lang.String attribute,
java.lang.String subAttribute,
java.lang.String equalityFilterSubAttrName,
java.lang.String equalityFilterValue)
Returns an attribute path instance composed of a single attribute name and a single sub-attribute with a
sub-attribute filter equality filter (e.g: addresses[type eq "work"].city).
|
static IdentityAttributePath |
fromString(java.lang.String attributePathStr)
Returns an instance of an IdentityAttributePath object built from the specified attribute path String.
|
IdentityFilter |
getAttributeFilter()
Returns the filter for this attribute path.
|
java.lang.String |
getAttributeName()
Returns the attribute name for this attribute path.
|
java.lang.String |
getSubAttributeName()
Returns the sub-attribute name for this attribute path.
|
boolean |
isSimple()
Indicates whether this attribute path is simple.
|
void |
setAttributeName(java.lang.String attributeName)
change the attibute name for this attribute path
|
java.lang.String |
toString()
Returns the String representation of this object.
|
public static IdentityAttributePath fromString(java.lang.String attributePathStr) throws IdentityDataException
attributePathStr - A valid attribute path String.IdentityDataException - If the specified attribute path is not valid or cannot be parsed properly.public boolean isSimple()
true if this attribute path is simple (no sub-attributes, no filtering, just a simple attribute
name), or false otherwise.public static IdentityAttributePath build(java.lang.String attribute)
attribute - The name of an attribute.public static IdentityAttributePath build(java.lang.String attribute, java.lang.String subAttribute)
attribute - The name of an attribute.subAttribute - The name of the sub-attribute.public static IdentityAttributePath build(java.lang.String attribute, java.lang.String subAttribute, java.lang.String equalityFilterSubAttrName, java.lang.String equalityFilterValue)
attribute - The name of an attribute.subAttribute - The name of a sub-attribute.equalityFilterSubAttrName - The name of a sub-attribute for the equality filter (left side of the equals sign)equalityFilterValue - The value for the equality filter (right side of the equals sign)public java.lang.String getAttributeName()
public void setAttributeName(java.lang.String attributeName)
public java.lang.String getSubAttributeName()
public IdentityFilter getAttributeFilter()
public java.lang.String toString()
toString in class java.lang.Object