Package pl.edu.icm.unity.stdext.attr
Class PublicLinkableImageSyntax
- java.lang.Object
-
- pl.edu.icm.unity.stdext.attr.BaseImageAttributeSyntax<pl.edu.icm.unity.attr.LinkableImage>
-
- pl.edu.icm.unity.stdext.attr.PublicLinkableImageSyntax
-
- All Implemented Interfaces:
pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<pl.edu.icm.unity.attr.LinkableImage>
public class PublicLinkableImageSyntax extends BaseImageAttributeSyntax<pl.edu.icm.unity.attr.LinkableImage>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPublicLinkableImageSyntax.Factory
-
Constructor Summary
Constructors Constructor Description PublicLinkableImageSyntax(URL serverAdvertisedAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description pl.edu.icm.unity.attr.LinkableImageconvertFromString(String stringRepresentation)StringconvertToString(pl.edu.icm.unity.attr.LinkableImage value)pl.edu.icm.unity.attr.LinkableImagedeserializeSimple(String value)StringgetImageUrl(pl.edu.icm.unity.attr.LinkableImage value)StringgetValueSyntaxId()Optional<pl.edu.icm.unity.engine.api.attributes.PublicAttributeSpec>publicExposureSpec()StringserializeSimple(pl.edu.icm.unity.attr.LinkableImage value)voidvalidate(pl.edu.icm.unity.attr.LinkableImage value)-
Methods inherited from class pl.edu.icm.unity.stdext.attr.BaseImageAttributeSyntax
areEqual, getConfig, getMaxSize, getSerializedConfiguration, hashCode, isEmailVerifiable, isUserVerifiable, setSerializedConfiguration
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PublicLinkableImageSyntax
public PublicLinkableImageSyntax(URL serverAdvertisedAddress)
-
-
Method Detail
-
getValueSyntaxId
public String getValueSyntaxId()
-
validate
public void validate(pl.edu.icm.unity.attr.LinkableImage value) throws pl.edu.icm.unity.exceptions.IllegalAttributeValueException- Throws:
pl.edu.icm.unity.exceptions.IllegalAttributeValueException
-
convertFromString
public pl.edu.icm.unity.attr.LinkableImage convertFromString(String stringRepresentation)
-
convertToString
public String convertToString(pl.edu.icm.unity.attr.LinkableImage value)
-
serializeSimple
public String serializeSimple(pl.edu.icm.unity.attr.LinkableImage value)
-
getImageUrl
public String getImageUrl(pl.edu.icm.unity.attr.LinkableImage value)
-
deserializeSimple
public pl.edu.icm.unity.attr.LinkableImage deserializeSimple(String value) throws pl.edu.icm.unity.exceptions.IllegalAttributeValueException
- Throws:
pl.edu.icm.unity.exceptions.IllegalAttributeValueException
-
publicExposureSpec
public Optional<pl.edu.icm.unity.engine.api.attributes.PublicAttributeSpec> publicExposureSpec()
-
-