public class MetadataSet extends AbstractMetadataSetElement
Can be recursive if there is any composite metadata.
Modifier and Type | Field and Description |
---|---|
private I18nizableText |
_description |
private String |
_iconDecorator |
private String |
_iconGlyph |
private boolean |
_internal |
private boolean |
_isEdition |
private I18nizableText |
_label |
private String |
_largeIcon |
private String |
_mediumIcon |
private String |
_name |
private String |
_smallIcon |
Constructor and Description |
---|
MetadataSet() |
Modifier and Type | Method and Description |
---|---|
I18nizableText |
getDescription()
Retrieves the description.
|
String |
getIconDecorator()
Retrieves the CSS class to use for decorator above the main icon
|
String |
getIconGlyph()
Retrieves the CSS class to use for glyph icon
|
I18nizableText |
getLabel()
Retrieves the label.
|
String |
getLargeIcon()
Retrieves the URL of the small icon without the context path.
|
String |
getMediumIcon()
Retrieves the URL of the small icon without the context path.
|
String |
getName()
Retrieves the name.
|
String |
getSmallIcon()
Retrieves the URL of the small icon without the context path.
|
boolean |
isEdition()
Tests if this is an edition metadata set.
|
boolean |
isInternal()
Returns true if this metadataSet is for internal use only.
|
void |
setDescription(I18nizableText description)
Set the description.
|
void |
setEdition(boolean edition)
Set the edition metadata set status.
|
void |
setIconDecorator(String iconDecorator)
Set the CSS class to use for decorator above the main icon
|
void |
setIconGlyph(String iconGlyph)
Set the CSS class to use for glyph icon
|
void |
setInternal(boolean isInternal)
Set the internal status.
|
void |
setLabel(I18nizableText label)
Set the label.
|
void |
setLargeIcon(String largeIcon)
Set the URL of the large icon.
|
void |
setMediumIcon(String mediumIcon)
Set the URL of the medium icon.
|
void |
setName(String name)
Set the name.
|
void |
setSmallIcon(String smallIcon)
Set the URL of the small icon.
|
String |
toString() |
addElement, getElements, getMetadataDefinitionReference, hasMetadataDefinitionReference
private I18nizableText _label
private I18nizableText _description
private String _iconGlyph
private String _iconDecorator
private String _smallIcon
private String _mediumIcon
private String _largeIcon
private boolean _isEdition
private boolean _internal
public MetadataSet()
public I18nizableText getLabel()
public void setLabel(I18nizableText label)
label
- the label.public I18nizableText getDescription()
public void setDescription(I18nizableText description)
description
- the description.public String getIconGlyph()
public void setIconGlyph(String iconGlyph)
iconGlyph
- the glyph name.public String getIconDecorator()
public void setIconDecorator(String iconDecorator)
iconDecorator
- the glyph name.public String getSmallIcon()
public void setSmallIcon(String smallIcon)
smallIcon
- the URL of the small icon, without the context path.public String getMediumIcon()
public void setMediumIcon(String mediumIcon)
mediumIcon
- the URL of the medium icon, without the context path.public String getLargeIcon()
public void setLargeIcon(String largeIcon)
largeIcon
- the URL of the large icon, without the context path.public boolean isEdition()
true
if this is an edition metadata set,
false
otherwise.public void setEdition(boolean edition)
edition
- true
if this is an edition metadata set,
false
otherwise.public boolean isInternal()
public void setInternal(boolean isInternal)
isInternal
- true if this metadataSet is for internal use only, false otherwise.