Class MetadataAttribute
java.lang.Object
com.kazurayam.materialstore.core.metadata.MetadataAttribute
- All Implemented Interfaces:
Jsonifiable
,TemplateReady
,Comparable<MetadataAttribute>
public final class MetadataAttribute
extends Object
implements Comparable<MetadataAttribute>, Jsonifiable, TemplateReady
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(MetadataAttribute other) boolean
getKey()
getValue()
int
hashCode()
boolean
boolean
boolean
boolean
boolean
isPaired()
void
setIdentifiedByValue
(boolean b) void
setIgnoredByKey
(boolean b) void
setMatchedByAster
(boolean b) void
setMatchedIndividually
(boolean b) void
setPaired
(boolean b) void
toJson()
toJson
(boolean prettyPrint) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.kazurayam.materialstore.core.TemplateReady
toTemplateModel, toTemplateModelAsJson, toTemplateModelAsJson
-
Constructor Details
-
MetadataAttribute
-
-
Method Details
-
setIgnoredByKey
public void setIgnoredByKey(boolean b) -
setIdentifiedByValue
public void setIdentifiedByValue(boolean b) -
setMatchedByAster
public void setMatchedByAster(boolean b) -
setMatchedIndividually
public void setMatchedIndividually(boolean b) -
setPaired
public void setPaired(boolean b) -
setSemanticVersionMatcherResult
-
getKey
-
getValue
-
isIgnoredByKey
public boolean isIgnoredByKey() -
isIdentifiedByValue
public boolean isIdentifiedByValue() -
isMatchedByAster
public boolean isMatchedByAster() -
isMatchedIndividually
public boolean isMatchedIndividually() -
isPaired
public boolean isPaired() -
getSemanticVersionMatcherResult
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
- Specified by:
toJson
in interfaceJsonifiable
-
toJson
- Specified by:
toJson
in interfaceJsonifiable
-
compareTo
- Specified by:
compareTo
in interfaceComparable<MetadataAttribute>
-