Class BooleanType

    • Constructor Detail

      • BooleanType

        public BooleanType​(XMPMetadata metadata,
                           java.lang.String namespaceURI,
                           java.lang.String prefix,
                           java.lang.String propertyName,
                           java.lang.Object value)
        Property Boolean type constructor (namespaceURI is given)
        Parameters:
        metadata - The metadata to attach to this property
        namespaceURI - the namespace URI to associate to this property
        prefix - The prefix to set for this property
        propertyName - The local Name of this property
        value - the value to give
    • Method Detail

      • getValue

        public java.lang.Boolean getValue()
        return the property value
        Specified by:
        getValue in class AbstractSimpleProperty
        Returns:
        boolean the property value
      • setValue

        public void setValue​(java.lang.Object value)
        Set value of this property BooleanTypeObject accept String value or a boolean
        Specified by:
        setValue in class AbstractSimpleProperty
        Parameters:
        value - The value to set