Package pl.edu.icm.unity.stdext.identity
Class IdentifierIdentity
- java.lang.Object
-
- pl.edu.icm.unity.stdext.identity.AbstractIdentityTypeProvider
-
- pl.edu.icm.unity.stdext.identity.AbstractStaticIdentityTypeProvider
-
- pl.edu.icm.unity.stdext.identity.IdentifierIdentity
-
- All Implemented Interfaces:
pl.edu.icm.unity.engine.api.identity.IdentityTypeDefinition
@Component public class IdentifierIdentity extends AbstractStaticIdentityTypeProvider
Opaque identifier identity. It is useful for storing a generic identifier, being a string. The only requirement is that the string must be non-empty.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description IdentifierIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComparableValue(String from, String realm, String target)StringgetDefaultDescriptionKey()StringgetHumanFriendlyDescription(pl.edu.icm.unity.MessageSource msg)StringgetHumanFriendlyName(pl.edu.icm.unity.MessageSource msg)StringgetId()booleanisDynamic()StringtoPrettyStringNoPrefix(pl.edu.icm.unity.types.basic.IdentityParam from)voidvalidate(String value)-
Methods inherited from class pl.edu.icm.unity.stdext.identity.AbstractStaticIdentityTypeProvider
createNewIdentity, isEmailVerifiable, isExpired, isTargeted
-
Methods inherited from class pl.edu.icm.unity.stdext.identity.AbstractIdentityTypeProvider
convertFromString, equals, hashCode, isRemovable, toHumanFriendlyString, toPrettyString, toString, toString
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
-
getDefaultDescriptionKey
public String getDefaultDescriptionKey()
-
validate
public void validate(String value)
-
toPrettyStringNoPrefix
public String toPrettyStringNoPrefix(pl.edu.icm.unity.types.basic.IdentityParam from)
-
isDynamic
public boolean isDynamic()
- Specified by:
isDynamicin interfacepl.edu.icm.unity.engine.api.identity.IdentityTypeDefinition- Overrides:
isDynamicin classAbstractStaticIdentityTypeProvider
-
getHumanFriendlyDescription
public String getHumanFriendlyDescription(pl.edu.icm.unity.MessageSource msg)
-
getHumanFriendlyName
public String getHumanFriendlyName(pl.edu.icm.unity.MessageSource msg)
-
-