Package pl.edu.icm.unity.stdext.attr
Class AbstractStringAttributeSyntax
- java.lang.Object
-
- pl.edu.icm.unity.stdext.attr.AbstractStringAttributeSyntax
-
- All Implemented Interfaces:
pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.String>
- Direct Known Subclasses:
EnumAttributeSyntax,PolicyAgreementAttributeSyntax,StringAttributeSyntax
public abstract class AbstractStringAttributeSyntax extends java.lang.Object implements pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.String>Common code for string based attribute syntax classes.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description AbstractStringAttributeSyntax()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareEqual(java.lang.String value, java.lang.Object another)java.lang.StringconvertFromString(java.lang.String stringRepresentation)java.lang.StringconvertToString(java.lang.String value)inthashCode(java.lang.Object value)booleanisEmailVerifiable()booleanisUserVerifiable()java.lang.StringserializeSimple(java.lang.String value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax
areEqualStringValue, deserializeSimple, getEmailConfirmationConfiguration, getMaxSize, getSerializedConfiguration, getValueSyntaxId, publicExposureSpec, setSerializedConfiguration, validate, validateStringValue
-
-
-
-
Method Detail
-
areEqual
public boolean areEqual(java.lang.String value, java.lang.Object another)- Specified by:
areEqualin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.String>
-
hashCode
public int hashCode(java.lang.Object value)
- Specified by:
hashCodein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.String>
-
serializeSimple
public java.lang.String serializeSimple(java.lang.String value) throws pl.edu.icm.unity.exceptions.InternalException- Specified by:
serializeSimplein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.String>- Throws:
pl.edu.icm.unity.exceptions.InternalException
-
isEmailVerifiable
public boolean isEmailVerifiable()
- Specified by:
isEmailVerifiablein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.String>
-
isUserVerifiable
public boolean isUserVerifiable()
- Specified by:
isUserVerifiablein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.String>
-
convertFromString
public java.lang.String convertFromString(java.lang.String stringRepresentation)
- Specified by:
convertFromStringin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.String>
-
convertToString
public java.lang.String convertToString(java.lang.String value)
- Specified by:
convertToStringin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.String>
-
-