public static class TLcdOpenSearchDescription.Image extends TLcdDataObject
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
HEIGHT_PROPERTY
Data property that maps to the
height attribute. |
static TLcdDataProperty |
TYPE_PROPERTY
Data property that maps to the
type attribute. |
static TLcdDataProperty |
WIDTH_PROPERTY
Data property that maps to the
width attribute. |
Constructor and Description |
---|
Image() |
Image(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
Long |
getHeight()
Returns the value of the property that maps to the
height attribute. |
String |
getType()
Returns the value of the property that maps to the
type attribute. |
Long |
getWidth()
Returns the value of the property that maps to the
width attribute. |
void |
setHeight(Long aValue)
Sets the value of the property that maps to the
height attribute. |
void |
setType(String aValue)
Sets the value of the property that maps to the
type attribute. |
void |
setWidth(Long aValue)
Sets the value of the property that maps to the
width attribute. |
public static final TLcdDataProperty HEIGHT_PROPERTY
height
attribute.
The possible values for this property are instances of Long
.public static final TLcdDataProperty TYPE_PROPERTY
type
attribute.
The possible values for this property are the public QName
constants defined in this class.public static final TLcdDataProperty WIDTH_PROPERTY
width
attribute.
The possible values for this property are instances of Long
.public Image()
public Image(TLcdDataType aType)
public Long getHeight()
height
attribute.
Contains the height, in pixels, of this image.
HEIGHT_PROPERTY
property.public void setHeight(Long aValue)
height
attribute.
Contains the height, in pixels, of this image.
aValue
- the value to set for the HEIGHT_PROPERTY
property.public String getType()
type
attribute.
The possible values for this property are the public QName
constants defined in this class.
Contains the MIME type of this image. Restrictions: The value must be a valid MIME type.
TYPE_PROPERTY
property.public void setType(String aValue)
type
attribute.
The possible values for this property are the public QName
constants defined in this class.
Contains the MIME type of this image. Restrictions: The value must be a valid MIME type.
aValue
- the value to set for the TYPE_PROPERTY
property.public Long getWidth()
width
attribute.
Contains the width, in pixels, of this image.
WIDTH_PROPERTY
property.public void setWidth(Long aValue)
width
attribute.
Contains the width, in pixels, of this image.
aValue
- the value to set for the WIDTH_PROPERTY
property.