Package com.exedio.cope.pattern
Class HashConstraint
java.lang.Object
com.exedio.cope.Feature
com.exedio.cope.Pattern
com.exedio.cope.pattern.HashConstraint
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHashConstraint(StringField hash, String algorithm, DataField data) HashConstraint(StringField hash, Supplier<String> algorithm, DataField data) -
Method Summary
Modifier and TypeMethodDescriptiongetData()getHash()The result may cause anUnsupportedQueryExceptionwhen used, if the field is stored in avault, or thealgorithmis not supported by the database.The result may cause anUnsupportedQueryExceptionwhen used, if the field is stored in avault, or thealgorithmis not supported by the database.Methods inherited from class com.exedio.cope.Pattern
addSource, addSource, addSource, addSource, addSourceFeature, addSourceFeature, addSourceFeature, annotationField, equals, getGeneratedTypes, getSourceFeatures, getSourceFeaturesGather, getSourceFields, getSources, getSourceTypes, getType, hashCode, initialize, newSourceType, newSourceType, newSourceType, newSourceType, newSourceType, newSourceType, newType, newType, onMount, registerSourceMethods inherited from class com.exedio.cope.Feature
afterModelCreated, getAbstractType, getAnnotation, getID, getLocalizationKeys, getName, getPattern, isAnnotationPresent, isSourceAlready, mount, readResolve, requireMounted, toString, toString, writeReplace
-
Constructor Details
-
HashConstraint
-
HashConstraint
-
-
Method Details
-
getHash
-
getAlgorithm
-
getData
-
hashMatchesIfSupported
The result may cause anUnsupportedQueryExceptionwhen used, if the field is stored in avault, or thealgorithmis not supported by the database. -
hashDoesNotMatchIfSupported
The result may cause anUnsupportedQueryExceptionwhen used, if the field is stored in avault, or thealgorithmis not supported by the database.
-