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 java.lang.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 Constructor Description BaseImageAttributeSyntax()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareEqual(T value, java.lang.Object anotherO)ImageConfigurationgetConfig()intgetMaxSize()com.fasterxml.jackson.databind.JsonNodegetSerializedConfiguration()inthashCode(java.lang.Object value)booleanisEmailVerifiable()booleanisUserVerifiable()voidsetSerializedConfiguration(com.fasterxml.jackson.databind.JsonNode jsonN)
-
-
-
Method Detail
-
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
public ImageConfiguration getConfig()
-
areEqual
public boolean areEqual(T value, java.lang.Object anotherO)
- 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
public int hashCode(java.lang.Object value)
- 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>
-
-