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<String>
- Direct Known Subclasses:
EnumAttributeSyntax,PolicyAgreementAttributeSyntax,StringAttributeSyntax
public abstract class AbstractStringAttributeSyntax
extends Object
implements pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<String>
Common code for string based attribute syntax classes.
- Author:
- K. Benedyczak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconvertFromString(String stringRepresentation) convertToString(String value) intbooleanbooleanserializeSimple(String value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax
areEqualStringValue, deserializeSimple, getEmailConfirmationConfiguration, getMaxSize, getSerializedConfiguration, getValueSyntaxId, publicExposureSpec, setSerializedConfiguration, validate, validateStringValue
-
Constructor Details
-
AbstractStringAttributeSyntax
public AbstractStringAttributeSyntax()
-
-
Method Details
-
areEqual
- Specified by:
areEqualin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<String>
-
hashCode
- Specified by:
hashCodein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<String>
-
serializeSimple
public String serializeSimple(String value) throws pl.edu.icm.unity.base.exceptions.InternalException - Specified by:
serializeSimplein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<String>- Throws:
pl.edu.icm.unity.base.exceptions.InternalException
-
isEmailVerifiable
public boolean isEmailVerifiable()- Specified by:
isEmailVerifiablein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<String>
-
isUserVerifiable
public boolean isUserVerifiable()- Specified by:
isUserVerifiablein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<String>
-
convertFromString
- Specified by:
convertFromStringin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<String>
-
convertToString
- Specified by:
convertToStringin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<String>
-