Class MetadataSet.Metadata
java.lang.Object
com.adobe.epubcheck.opf.MetadataSet.Metadata
- Enclosing class:
MetadataSet
Represents a metadata expression.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.common.base.Optional<String> getId()The ID of the element holding the expression.The property representing the statement of the expression.The set of metadata expressions refining this metadata expression.com.google.common.base.Optional<String> The ID of the resource or expression refined by this expression.getValue()The value of the assertion of the expression.inthashCode()booleanWhether this is a primary metadata expression (as opposed to a refining expression)toString()
-
Field Details
-
id
-
property
-
value
-
refines
-
refiners
-
-
Constructor Details
-
Metadata
-
-
Method Details
-
getId
The ID of the element holding the expression.- Returns:
- the ID of the element holding the expression (possibly absent).
-
getProperty
The property representing the statement of the expression.- Returns:
- the property representing the statement of the expression.
-
getValue
The value of the assertion of the expression.- Returns:
- the value of the assertion of the expression.
-
getRefines
The ID of the resource or expression refined by this expression.- Returns:
- the ID of the resource or expression refined by this expression (possibly absent).
-
getRefiners
The set of metadata expressions refining this metadata expression.- Returns:
- the set (possibly empty) of metadata expressions refining this metadata expression.
-
isPrimary
public boolean isPrimary()Whether this is a primary metadata expression (as opposed to a refining expression)- Returns:
trueif and only if this is a primary metadata expression
-
toString
-
hashCode
-
equals
-