|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.entities.BaseAttributeDescriptor
public class BaseAttributeDescriptor
This class is a base class for AttributeDescriptor, AttributeGroup, and AttributeType. It contains the features that are common to all, thus providing a default implementation.
Constructor Summary | |
---|---|
BaseAttributeDescriptor()
Constructs an instance of BaseAttributeDescriptor with no name. |
|
BaseAttributeDescriptor(java.lang.String name)
Constructs an instance of BaseAttributeDescriptor with the given name |
Method Summary | |
---|---|
java.util.List |
getAttributeCustomizerContexts()
Returns a list of customizer contexts defined for this object. |
java.util.Map |
getAttributeCustomizers()
Returns a mapping of all of the customizers defined for this object. |
java.lang.String |
getConfigurationXML()
Return the XML which is used to configure or constrain this object. |
java.lang.String |
getCustomizer(java.lang.String context)
Return this object's customizer. |
java.lang.String |
getDescription(java.util.Locale locale)
Return the description of this object; this is the description which the user will see in a UI (User Interface) component. |
java.util.Map |
getDescriptions()
Returns a mapping of all of the descriptions defined for this object. |
java.lang.String |
getLabel(java.util.Locale locale)
Return the label of this object; this is the name which will the user will see in a UI (User Interface) component. |
java.util.Map |
getLabels()
Returns a mapping of all of the labels defined for this object. |
java.lang.String |
getLargeIconURL(java.util.Locale locale)
Return a URL that contains the large icon representing this object. |
java.util.Map |
getLargeIconURLs()
Returns a mapping of all of the large icon URLs defined for this object. |
java.lang.String |
getName()
Return the name of this object. |
java.lang.String |
getSmallIconURL(java.util.Locale locale)
Return a URL that contains the small icon representing this object. |
java.util.Map |
getSmallIconURLs()
Returns a mapping of all of the small icon URLs defined for this object. |
void |
setConfigurationXML(java.lang.String configurationXML)
Assign XML which can be used to configure or constrain this object. |
void |
setCustomizer(java.lang.String context,
java.lang.String customizer)
Set the customizer for a specific context. |
void |
setDescription(java.util.Locale locale,
java.lang.String description)
Set the description of this object;this is the description which the user will see in a UI (User Interface) component. |
void |
setLabel(java.util.Locale locale,
java.lang.String label)
Set the label of this object; this is the name which will the user will see in a UI (User Interface) component. |
void |
setLargeIconURL(java.util.Locale locale,
java.lang.String largeIconURL)
Set a locale-sensitive URL that contains the large icon representing this object. |
void |
setName(java.lang.String name)
Set the name of this object. |
void |
setSmallIconURL(java.util.Locale locale,
java.lang.String smallIconURL)
Set a locale-sensitive URL that contains the small icon representing this object. |
Constructor Detail |
---|
public BaseAttributeDescriptor()
public BaseAttributeDescriptor(java.lang.String name)
name
- name associated with the BaseAttributeDescriptorMethod Detail |
---|
public java.lang.String getName()
BaseAttributeDescriptorInterface
getName
in interface BaseAttributeDescriptorInterface
BaseAttributeDescriptorInterface.setName(String name)
public void setName(java.lang.String name)
BaseAttributeDescriptorInterface
setName
in interface BaseAttributeDescriptorInterface
name
- object nameBaseAttributeDescriptorInterface.getName()
public java.lang.String getLabel(java.util.Locale locale)
BaseAttributeDescriptorInterface
name
is returned.
getLabel
in interface BaseAttributeDescriptorInterface
locale
- the locale with which the label is associated.
This parameter may be null.
BaseAttributeDescriptorInterface.setLabel(Locale locale, String label)
public void setLabel(java.util.Locale locale, java.lang.String label)
BaseAttributeDescriptorInterface
setLabel
in interface BaseAttributeDescriptorInterface
locale
- the locale with which the label is associated.
This parameter may be null.label
- the visible nameBaseAttributeDescriptorInterface.getLabel(Locale locale)
public java.util.Map getLabels()
BaseAttributeDescriptorInterface
getLabels
in interface BaseAttributeDescriptorInterface
public java.lang.String getDescription(java.util.Locale locale)
BaseAttributeDescriptorInterface
name
is returned.
getDescription
in interface BaseAttributeDescriptorInterface
locale
- the locale with which this description is associated.
This may be null.
BaseAttributeDescriptorInterface.setDescription(Locale locale, String description)
public void setDescription(java.util.Locale locale, java.lang.String description)
BaseAttributeDescriptorInterface
setDescription
in interface BaseAttributeDescriptorInterface
locale
- the locale with which this description is associated.
This may be null.description
- description of the objectBaseAttributeDescriptorInterface.getDescription(Locale locale)
public java.util.Map getDescriptions()
BaseAttributeDescriptorInterface
getDescriptions
in interface BaseAttributeDescriptorInterface
public java.lang.String getCustomizer(java.lang.String context)
BaseAttributeDescriptorInterface
getCustomizer
in interface BaseAttributeDescriptorInterface
context
- the context in which the customizer is instantiated/used;
it is a platform specification from EntityContextInterface
BaseAttributeDescriptorInterface.setCustomizer(String context, String customizer)
,
EntityContextInterface
public void setCustomizer(java.lang.String context, java.lang.String customizer)
BaseAttributeDescriptorInterface
setCustomizer
in interface BaseAttributeDescriptorInterface
context
- the context in which the customizer is instantiated/used;
it is a platform specification from EntityContextInterface
customizer
- the name of the customizerBaseAttributeDescriptorInterface.getCustomizer(String context)
,
EntityContextInterface
public java.util.Map getAttributeCustomizers()
BaseAttributeDescriptorInterface
getAttributeCustomizers
in interface BaseAttributeDescriptorInterface
public java.util.List getAttributeCustomizerContexts()
BaseAttributeDescriptorInterface
getAttributeCustomizerContexts
in interface BaseAttributeDescriptorInterface
public java.lang.String getConfigurationXML()
BaseAttributeDescriptorInterface
getConfigurationXML
in interface BaseAttributeDescriptorInterface
BaseAttributeDescriptorInterface.setConfigurationXML(String configurationXML)
public void setConfigurationXML(java.lang.String configurationXML)
BaseAttributeDescriptorInterface
setConfigurationXML
in interface BaseAttributeDescriptorInterface
configurationXML
- the XML configuration for this objectBaseAttributeDescriptorInterface.getConfigurationXML()
public java.lang.String getSmallIconURL(java.util.Locale locale)
BaseAttributeDescriptorInterface
getSmallIconURL
in interface BaseAttributeDescriptorInterface
locale
- the locale in which to express the small icon.
If no small icon URL is associated with the locale,
then the small icon URL
associated with the null locale is returned. If that
does not exist, then null is returned.
BaseAttributeDescriptorInterface.setSmallIconURL(Locale locale, String smallIconURL)
public void setSmallIconURL(java.util.Locale locale, java.lang.String smallIconURL)
BaseAttributeDescriptorInterface
setSmallIconURL
in interface BaseAttributeDescriptorInterface
locale
- the locale in which to express the small icon.
This may be null.smallIconURL
- the icon's urlBaseAttributeDescriptorInterface.getSmallIconURL(Locale locale)
public java.util.Map getSmallIconURLs()
BaseAttributeDescriptorInterface
getSmallIconURLs
in interface BaseAttributeDescriptorInterface
public java.lang.String getLargeIconURL(java.util.Locale locale)
BaseAttributeDescriptorInterface
getLargeIconURL
in interface BaseAttributeDescriptorInterface
locale
- the locale in which to express the icon.
If no large icon URL is associated with the locale,
then the large icon URL
associated with the null locale is returned. If that
does not exist, then null is returned.
BaseAttributeDescriptorInterface.setLargeIconURL(Locale locale, String largeIconURL)
public void setLargeIconURL(java.util.Locale locale, java.lang.String largeIconURL)
BaseAttributeDescriptorInterface
setLargeIconURL
in interface BaseAttributeDescriptorInterface
locale
- the locale in which to express the large icon.
This may be null.largeIconURL
- the icon's urlBaseAttributeDescriptorInterface.getLargeIconURL(Locale locale)
public java.util.Map getLargeIconURLs()
BaseAttributeDescriptorInterface
getLargeIconURLs
in interface BaseAttributeDescriptorInterface
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |