public class ObjectConfigurationPropertyImpl extends Object implements ObjectConfigurationProperty
Modifier and Type | Method and Description |
---|---|
void |
clear()
Object Configuration Properties are immutable so this function throws an exception
|
boolean |
containsKey(Object key)
Does this property have a choice with key of the specified value
|
boolean |
containsValue(Object value)
Does this property have a choice with value of the specified value
|
Set |
entrySet()
Entry set of the choices for this property
|
Object |
get(Object key)
Returns the value of the choice that matches key
|
String |
getCascadeFrom() |
String |
getDefault()
Retrieves the default value of this Property e.g.
|
String |
getDescription()
Retrieves the description of this Property e.g.
|
protected Map |
getInternalValues(Map userParams)
Returns the map of values stored internally for the choices of this property.
|
protected Map |
getMutableInternalValues() |
String |
getName()
Retrieves the name of this Property e.g.
|
int |
getType()
Retrieves the type of the Property e.g.
|
String |
getTypeName()
Retrieves the name of the type of the property, e.g.
|
void |
init(Map userParams)
This is a list of user parameters that may be required to generate a list of values and/or a description for this
Property.
|
boolean |
isEmpty()
Does this property have a number of possible choices
|
boolean |
isEnabled()
Whether the property is enabled in the current context.
|
boolean |
isI18nValues() |
Set |
keySet()
Returns a set of the key for the choices for this property
|
Object |
put(Object key,
Object value)
Object Configuration Properties are immutable so this function throws an exception
|
void |
putAll(Map t)
Object Configuration Properties are immutable so this function throws an exception
|
Object |
remove(Object key)
Object Configuration Properties are immutable so this function throws an exception
|
void |
setCascadeFrom(String cascadeFrom) |
void |
setI18nValues(boolean i18nValues) |
int |
size()
If this Property has a list of choices e.g.
|
Collection |
values()
Returns all the values for the choices of this property
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public void init(Map userParams)
init
in interface ObjectConfigurationProperty
userParams
- Parameters used to generate a list of values and/or a descriptionpublic String getName()
getName
in interface ObjectConfigurationProperty
public String getDescription()
getDescription
in interface ObjectConfigurationProperty
public String getDefault()
getDefault
in interface ObjectConfigurationProperty
public int getType()
getType
in interface ObjectConfigurationProperty
ObjectConfigurationTypes
public String getTypeName()
ObjectConfigurationProperty
getTypeName
in interface ObjectConfigurationProperty
public boolean isEnabled()
ObjectConfigurationProperty
isEnabled
in interface ObjectConfigurationProperty
public int size()
public boolean isEmpty()
public boolean containsKey(Object key)
containsKey
in interface Map
key
- Does this Property have a choice with key, keypublic boolean containsValue(Object value)
containsValue
in interface Map
value
- Does this Property have a choice with value, valuepublic Object put(Object key, Object value)
public Object remove(Object key)
public void putAll(Map t)
public void clear()
public Set keySet()
public Collection values()
public Set entrySet()
public boolean isI18nValues()
isI18nValues
in interface ObjectConfigurationProperty
public void setI18nValues(boolean i18nValues)
setI18nValues
in interface ObjectConfigurationProperty
public String getCascadeFrom()
getCascadeFrom
in interface ObjectConfigurationProperty
public void setCascadeFrom(String cascadeFrom)
setCascadeFrom
in interface ObjectConfigurationProperty
protected Map getInternalValues(Map userParams)
userParams
- Not used in this implementation.protected Map getMutableInternalValues()
Copyright © 2002-2018 Atlassian. All Rights Reserved.