Package org.ametys.cms.contenttype
Class MetadataSet
- java.lang.Object
-
- org.ametys.cms.contenttype.AbstractMetadataSetElement
-
- org.ametys.cms.contenttype.MetadataSet
-
@Deprecated public class MetadataSet extends AbstractMetadataSetElement
Deprecated.useView
insteadSet of metadata.Can be recursive if there is any composite metadata.
-
-
Field Summary
Fields Modifier and Type Field Description private I18nizableText
_description
Deprecated.private String
_iconDecorator
Deprecated.private String
_iconGlyph
Deprecated.private boolean
_internal
Deprecated.private boolean
_isEdition
Deprecated.private I18nizableText
_label
Deprecated.private String
_largeIcon
Deprecated.private String
_mediumIcon
Deprecated.private String
_name
Deprecated.private String
_smallIcon
Deprecated.
-
Constructor Summary
Constructors Constructor Description MetadataSet()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description I18nizableText
getDescription()
Deprecated.Retrieves the description.String
getIconDecorator()
Deprecated.Retrieves the CSS class to use for decorator above the main iconString
getIconGlyph()
Deprecated.Retrieves the CSS class to use for glyph iconI18nizableText
getLabel()
Deprecated.Retrieves the label.String
getLargeIcon()
Deprecated.Retrieves the URL of the small icon without the context path.String
getMediumIcon()
Deprecated.Retrieves the URL of the small icon without the context path.String
getName()
Deprecated.Retrieves the name.String
getSmallIcon()
Deprecated.Retrieves the URL of the small icon without the context path.boolean
isEdition()
Deprecated.Tests if this is an edition metadata set.boolean
isInternal()
Deprecated.Returns true if this metadataSet is for internal use only.void
setDescription(I18nizableText description)
Deprecated.Set the description.void
setEdition(boolean edition)
Deprecated.Set the edition metadata set status.void
setIconDecorator(String iconDecorator)
Deprecated.Set the CSS class to use for decorator above the main iconvoid
setIconGlyph(String iconGlyph)
Deprecated.Set the CSS class to use for glyph iconvoid
setInternal(boolean isInternal)
Deprecated.Set the internal status.void
setLabel(I18nizableText label)
Deprecated.Set the label.void
setLargeIcon(String largeIcon)
Deprecated.Set the URL of the large icon.void
setMediumIcon(String mediumIcon)
Deprecated.Set the URL of the medium icon.void
setName(String name)
Deprecated.Set the name.void
setSmallIcon(String smallIcon)
Deprecated.Set the URL of the small icon.String
toString()
Deprecated.-
Methods inherited from class org.ametys.cms.contenttype.AbstractMetadataSetElement
addElement, getElements, getMetadataDefinitionReference, hasMetadataDefinitionReference, setElements
-
-
-
-
Field Detail
-
_label
private I18nizableText _label
Deprecated.
-
_description
private I18nizableText _description
Deprecated.
-
_iconGlyph
private String _iconGlyph
Deprecated.
-
_iconDecorator
private String _iconDecorator
Deprecated.
-
_smallIcon
private String _smallIcon
Deprecated.
-
_mediumIcon
private String _mediumIcon
Deprecated.
-
_largeIcon
private String _largeIcon
Deprecated.
-
_isEdition
private boolean _isEdition
Deprecated.
-
_internal
private boolean _internal
Deprecated.
-
-
Constructor Detail
-
MetadataSet
public MetadataSet()
Deprecated.
-
-
Method Detail
-
getLabel
public I18nizableText getLabel()
Deprecated.Retrieves the label.- Returns:
- the label.
-
setLabel
public void setLabel(I18nizableText label)
Deprecated.Set the label.- Parameters:
label
- the label.
-
getDescription
public I18nizableText getDescription()
Deprecated.Retrieves the description.- Returns:
- the description.
-
setDescription
public void setDescription(I18nizableText description)
Deprecated.Set the description.- Parameters:
description
- the description.
-
getIconGlyph
public String getIconGlyph()
Deprecated.Retrieves the CSS class to use for glyph icon- Returns:
- the glyph name.
-
setIconGlyph
public void setIconGlyph(String iconGlyph)
Deprecated.Set the CSS class to use for glyph icon- Parameters:
iconGlyph
- the glyph name.
-
getIconDecorator
public String getIconDecorator()
Deprecated.Retrieves the CSS class to use for decorator above the main icon- Returns:
- the glyph name.
-
setIconDecorator
public void setIconDecorator(String iconDecorator)
Deprecated.Set the CSS class to use for decorator above the main icon- Parameters:
iconDecorator
- the glyph name.
-
getSmallIcon
public String getSmallIcon()
Deprecated.Retrieves the URL of the small icon without the context path.- Returns:
- the icon URL for the small image 16x16.
-
setSmallIcon
public void setSmallIcon(String smallIcon)
Deprecated.Set the URL of the small icon.- Parameters:
smallIcon
- the URL of the small icon, without the context path.
-
getMediumIcon
public String getMediumIcon()
Deprecated.Retrieves the URL of the small icon without the context path.- Returns:
- the icon URL for the medium sized image 32x32.
-
setMediumIcon
public void setMediumIcon(String mediumIcon)
Deprecated.Set the URL of the medium icon.- Parameters:
mediumIcon
- the URL of the medium icon, without the context path.
-
getLargeIcon
public String getLargeIcon()
Deprecated.Retrieves the URL of the small icon without the context path.- Returns:
- the icon URL for the large image 48x48.
-
setLargeIcon
public void setLargeIcon(String largeIcon)
Deprecated.Set the URL of the large icon.- Parameters:
largeIcon
- the URL of the large icon, without the context path.
-
isEdition
public boolean isEdition()
Deprecated.Tests if this is an edition metadata set.- Returns:
true
if this is an edition metadata set,false
otherwise.
-
setEdition
public void setEdition(boolean edition)
Deprecated.Set the edition metadata set status.- Parameters:
edition
-true
if this is an edition metadata set,false
otherwise.
-
isInternal
public boolean isInternal()
Deprecated.Returns true if this metadataSet is for internal use only.- Returns:
- true if this metadataSet is for internal use only.
-
setInternal
public void setInternal(boolean isInternal)
Deprecated.Set the internal status.- Parameters:
isInternal
- true if this metadataSet is for internal use only, false otherwise.
-
-