Class DublinCoreValue
java.lang.Object
org.opencastproject.metadata.dublincore.DublinCoreValue
- All Implemented Interfaces:
Serializable
@Immutable
@ParametersAreNonnullByDefault
public final class DublinCoreValue
extends Object
implements Serializable
Representation of a DublinCore conforming property value.
See http://dublincore.org/documents/dc-xml-guidelines/ for further details.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDublinCoreValue(String value, String language, com.entwinemedia.fn.data.Opt<EName> encodingScheme) Create a new Dublin Core value. -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.entwinemedia.fn.data.Opt<EName> Return the encoding scheme.Return the language.getValue()Return the value of the property.booleaninthashCode()static DublinCoreValueCreate a new Dublin Core value with the language set to undefined and no particular encoding scheme.static DublinCoreValueCreates a new Dublin Core value without an encoding scheme.static DublinCoreValueCreate a new Dublin Core value.static DublinCoreValueCreate a new Dublin Core value.toString()
-
Constructor Details
-
Method Details
-
mk
public static DublinCoreValue mk(String value, String language, com.entwinemedia.fn.data.Opt<EName> encodingScheme) Create a new Dublin Core value.- Parameters:
value- the valuelanguage- the language (two letter ISO 639)encodingScheme- the encoding scheme used to encode the value
-
mk
Create a new Dublin Core value.- Parameters:
value- the valuelanguage- the language (two letter ISO 639)encodingScheme- the encoding scheme used to encode the value
-
mk
Creates a new Dublin Core value without an encoding scheme.- Parameters:
value- the valuelanguage- the language (two letter ISO 639)
-
mk
Create a new Dublin Core value with the language set to undefined and no particular encoding scheme.- Parameters:
value- the value- See Also:
-
getValue
Return the value of the property. -
getLanguage
Return the language. -
getEncodingScheme
Return the encoding scheme. -
hasEncodingScheme
public boolean hasEncodingScheme() -
equals
-
hashCode
public int hashCode() -
toString
-