Package pl.edu.icm.unity.stdext.attr
Class BaseImageAttributeSyntax<T>
java.lang.Object
pl.edu.icm.unity.stdext.attr.BaseImageAttributeSyntax<T>
- All Implemented Interfaces:
pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<T>
- Direct Known Subclasses:
ImageAttributeSyntax,PublicLinkableImageSyntax
public abstract class BaseImageAttributeSyntax<T>
extends Object
implements pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<T>
Image attribute value syntax. Allows for specifying size and dimension
limits. The input and output of the attribute is any BufferedImage, but
internally the image is stored as original image format with all the
consequences.
Note: for performance reasons the equals is implemented to always return false, so each image is always assumed to be different then another.
- Author:
- K. Benedyczak, R. Ledzinski
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintcom.fasterxml.jackson.databind.JsonNodeintbooleanbooleanvoidsetSerializedConfiguration(com.fasterxml.jackson.databind.JsonNode jsonN) 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, convertFromString, convertToString, deserializeSimple, getEmailConfirmationConfiguration, getValueSyntaxId, publicExposureSpec, serializeSimple, validate, validateStringValue
-
Constructor Details
-
BaseImageAttributeSyntax
public BaseImageAttributeSyntax()
-
-
Method Details
-
getSerializedConfiguration
public com.fasterxml.jackson.databind.JsonNode getSerializedConfiguration()- Specified by:
getSerializedConfigurationin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<T>
-
setSerializedConfiguration
public void setSerializedConfiguration(com.fasterxml.jackson.databind.JsonNode jsonN) - Specified by:
setSerializedConfigurationin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<T>
-
getConfig
-
areEqual
- Specified by:
areEqualin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<T>
-
getMaxSize
public int getMaxSize()- Specified by:
getMaxSizein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<T>
-
hashCode
- Specified by:
hashCodein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<T>
-
isEmailVerifiable
public boolean isEmailVerifiable()- Specified by:
isEmailVerifiablein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<T>
-
isUserVerifiable
public boolean isUserVerifiable()- Specified by:
isUserVerifiablein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<T>
-