Class ProfileAttributeDescriptor
- java.lang.Object
 - 
- de.xima.fc.mdl.auth.authorization.ProfileAttributeDescriptor
 
 
- 
- All Implemented Interfaces:
 IProfileAttributeDescriptor,Serializable
public class ProfileAttributeDescriptor extends Object implements IProfileAttributeDescriptor
Model describing a profile attribute. SeeIProfileAttributeDescriptorfor more information.- Since:
 - 8.0.0
 - Author:
 - XIMA Media GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ProfileAttributeDescriptor() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProfileAttributeDescriptorcustomAttribute(String type, String name)booleanequals(Object obj)StringgetName()Returns the name of the profile attribute.StringgetType()Returns the type of the profile attribute.inthashCode()static ProfileAttributeDescriptorjsonPathAttribute(String name)voidsetName(String name)voidsetType(String type)StringtoString() 
 - 
 
- 
- 
Method Detail
- 
customAttribute
public static ProfileAttributeDescriptor customAttribute(String type, String name)
 
- 
jsonPathAttribute
public static ProfileAttributeDescriptor jsonPathAttribute(String name)
 
- 
getType
public String 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
public void setType(String type)
 
- 
getName
public String 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
public void setName(String name)
 
 - 
 
 -