Class ProfileAttributeDescriptor
java.lang.Object
de.xima.fc.mdl.auth.authorization.ProfileAttributeDescriptor
- All Implemented Interfaces:
IProfileAttributeDescriptor,Serializable
Model describing a profile attribute. See
IProfileAttributeDescriptor for more information.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProfileAttributeDescriptorcustomAttribute(String type, String name) booleangetName()Returns the name of the profile attribute.getType()Returns the type of the profile attribute.inthashCode()static ProfileAttributeDescriptorjsonPathAttribute(String name) voidvoidtoString()
-
Constructor Details
-
ProfileAttributeDescriptor
public ProfileAttributeDescriptor()
-
-
Method Details
-
customAttribute
-
jsonPathAttribute
-
getType
Description copied from interface:IProfileAttributeDescriptorReturns the type of the profile attribute. The type of a profile attribute determines how thenameof the attribute is evaluated with a given profile. The default attribute type "JSON_PATH PROFILE_ATTRIBUTE_TYPE_JSON_PATH JSON_PATH" for example determines that thenameof the attribute should be considered as a JSON path and evaluated as such on the profile.- Specified by:
getTypein interfaceIProfileAttributeDescriptor- Returns:
- the type of the profile attribute. E.g.
"
JSON_PATH PROFILE_ATTRIBUTE_TYPE_JSON_PATH JSON_PATH"
-
setType
-
getName
Description copied from interface:IProfileAttributeDescriptorReturns the name of the profile attribute. The name is used in conjunction with thetypeto describe the attribute of a profile and used to evaluate the value said property.- Specified by:
getNamein interfaceIProfileAttributeDescriptor- Returns:
- the name of the profile attribute. E.g. "
$.path.to.attribute" for atype"JSON_PATH PROFILE_ATTRIBUTE_TYPE_JSON_PATH JSON_PATH"
-
setName
-
equals
-
hashCode
public int hashCode() -
toString
-