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 Constructor Description AbstractStringAttributeSyntax()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareEqual(String value, Object another)StringconvertFromString(String stringRepresentation)StringconvertToString(String value)inthashCode(Object value)booleanisEmailVerifiable()booleanisUserVerifiable()StringserializeSimple(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(String value, Object another)
- Specified by:
areEqualin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<String>
-
hashCode
public int hashCode(Object value)
- Specified by:
hashCodein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<String>
-
serializeSimple
public String serializeSimple(String value) throws pl.edu.icm.unity.exceptions.InternalException
- Specified by:
serializeSimplein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<String>- Throws:
pl.edu.icm.unity.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
public String convertFromString(String stringRepresentation)
- Specified by:
convertFromStringin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<String>
-
-