class ThumbnailType extends AbstractStructuredType
{

    @PropertyType(type = Types.Choice, card = Cardinality.Simple)
    public static final String FORMAT = "format";

    @PropertyType(type = Types.Integer, card = Cardinality.Simple)
    public static final String HEIGHT = "height";

    @PropertyType(type = Types.Integer, card = Cardinality.Simple)
    public static final String WIDTH = "width";

    @PropertyType(type = Types.Text, card = Cardinality.Simple)
    public static final String IMAGE = "image";

    /**
     * 
     * @param metadata
     *            The metadata to attach to this property
     */
    public ThumbnailType(XMPMetadata metadata)
    {
        super(metadata);
        setAttribute(new Attribute(XmpConstants.RDF_NAMESPACE, "parseType", "Resource"));
    }

    /**
     * Get Height
     * 
     * @return the height
     */
    public Integer getHeight()
    {<FILL_FUNCTION_BODY>}

    /**
     * Set Height
     * 
     * @param height
     *            the value of Height property to set
     */
    public void setHeight(Integer height)
    {
        addSimpleProperty(HEIGHT, height);
    }

    /**
     * Get Width
     * 
     * @return the width
     */
    public Integer getWidth()
    {
        AbstractField absProp = getFirstEquivalentProperty(WIDTH, IntegerType.class);
        if (absProp != null)
        {

            return ((IntegerType) absProp).getValue();
        }
        return null;
    }

    /**
     * Set Width
     * 
     * @param width
     *            the value of width property to set
     */
    public void setWidth(Integer width)
    {
        addSimpleProperty(WIDTH, width);
    }

    /**
     * Get The img data
     * 
     * @return the img
     */
    public String getImage()
    {
        AbstractField absProp = getFirstEquivalentProperty(IMAGE, TextType.class);
        if (absProp != null)
        {
            return ((TextType) absProp).getStringValue();
        }
        return null;
    }

    /**
     * Set Image data
     * 
     * @param image
     *            the value of image property to set
     */
    public void setImage(String image)
    {
        addSimpleProperty(IMAGE, image);
    }

    /**
     * Get Format
     * 
     * @return the format
     */
    public String getFormat()
    {
        AbstractField absProp = getFirstEquivalentProperty(FORMAT, ChoiceType.class);
        if (absProp != null)
        {
            return ((TextType) absProp).getStringValue();
        }
        return null;
    }

    /**
     * Set Format
     * 
     * @param format
     *            the value of format property to set
     */
    public void setFormat(String format)
    {
        addSimpleProperty(FORMAT, format);
    }

}

        AbstractField absProp = getFirstEquivalentProperty(HEIGHT, IntegerType.class);
        if (absProp != null)
        {
            return ((IntegerType) absProp).getValue();
        }
        return null;
    
<methods>public void <init>(org.apache.xmpbox.XMPMetadata) ,public void <init>(org.apache.xmpbox.XMPMetadata, java.lang.String) ,public void <init>(org.apache.xmpbox.XMPMetadata, java.lang.String, java.lang.String, java.lang.String) ,public org.apache.xmpbox.type.ArrayProperty createArrayProperty(java.lang.String, org.apache.xmpbox.type.Cardinality) ,public org.apache.xmpbox.type.TextType createTextType(java.lang.String, java.lang.String) ,public final java.lang.String getNamespace() ,public final java.lang.String getPreferedPrefix() ,public final java.lang.String getPrefix() ,public final void setNamespace(java.lang.String) ,public final void setPrefix(java.lang.String) <variables>protected static final java.lang.String STRUCTURE_ARRAY_NAME,private java.lang.String namespace,private java.lang.String preferedPrefix,private java.lang.String prefix