The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Class Index | File Index

Classes


Class orion.metatype.AttributeDefinition

Describes the data type of a property/attribute.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.core/web/orion/metatype.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
An AttributeDefinition describes the data type of a property/attribute.
Method Summary
Method Attributes Method Name and Description
 
Returns the default value.
 
Returns the id.
 
Returns the name.
 
Returns the name key.
 
Returns a list of label keys for option values.
 
Returns a list of labels for option values.
 
Returns the option values that this attribute can take.
 
Returns the type.
Class Detail
orion.metatype.AttributeDefinition()
An AttributeDefinition describes the data type of a property/attribute.

It typically serves to describe the type of an individual property that may appear in a orion.cm.ConfigurationProperties dictionary.

Method Detail
{Object} getDefaultValue()
Returns the default value.
Returns:
{Object} The default value, or null if no default exists.

{String} getId()
Returns the id.
Returns:
{String} The id of this AttributeDefinition.

{String} getName()
Returns the name.
Returns:
{String} The name, or null.

{String} getNameKey()
Returns the name key.
Returns:
{String} The name key, or null.

{String[]|null} getOptionLabelKeys()
Returns a list of label keys for option values.
Returns:
{String[]|null} The option label keys. The ordering of the returned array matches the ordering of the values array returned by #getOptionValues.

If there are no label keys available, null is returned.

See:
orion.metatype.ObjectClassDefinition#getNameKey The parent ObjectClassDefinition's nameKey gives the message bundle to which the labelKeys apply.

{String[]|null} getOptionLabels()
Returns a list of labels for option values.
Returns:
{String[]|null} The option labels. The ordering of the returned array matches the ordering of the values array returned by #getOptionValues.

If there are no option labels available, null is returned.


{Object[]|null} getOptionValues()
Returns the option values that this attribute can take.
Returns:
{Object[]|null} The option values. If there are no option values available, null is returned.

{String} getType()
Returns the type.
Returns:
{String} The type. It is one of:
  • 'boolean'
  • 'number'
  • 'string'

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 01 2014 22:58:24 GMT-0400 (EDT)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.