Interface VViewModelProperties
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
VViewModelLoadingProperties
- All Known Implementing Classes:
VViewModelLoadingPropertiesImpl
public interface VViewModelProperties extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Model Properties'.- Since:
- 1.7
- See Also:
VViewPackage.getViewModelProperties()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
addInheritableProperty(java.lang.String key, java.lang.Object value)
Adds a new inheritable property.java.lang.Object
addNonInheritableProperty(java.lang.String key, java.lang.Object value)
Adds a new non-inheritable property.boolean
containsKey(java.lang.String key)
Returnstrue
if there is either an inherited property or a non-inherited property for the given key.java.lang.Object
get(java.lang.String key)
Returns the property value for the given key ornull
if there is no property for the given key,VViewModelProperties
inherit()
Creates newproperties
which inherit theinheritable properties
of this object.
-
-
-
Method Detail
-
inherit
VViewModelProperties inherit()
Creates newproperties
which inherit theinheritable properties
of this object.- Returns:
- the new properties
-
containsKey
boolean containsKey(java.lang.String key)
Returnstrue
if there is either an inherited property or a non-inherited property for the given key. Returnsfalse
otherwise.- Parameters:
key
- the key to check- Returns:
- whether there is a property for the given key
-
get
java.lang.Object get(java.lang.String key)
Returns the property value for the given key ornull
if there is no property for the given key,- Parameters:
key
- the key to get the value for- Returns:
- the value
-
addInheritableProperty
java.lang.Object addInheritableProperty(java.lang.String key, java.lang.Object value)
Adds a new inheritable property. Returns the value which has been associated with the given key before the new property was added ornull
if there was no value for the key.- Parameters:
key
- the key to addvalue
- the value to add- Returns:
- the previous value
-
addNonInheritableProperty
java.lang.Object addNonInheritableProperty(java.lang.String key, java.lang.Object value)
Adds a new non-inheritable property. Returns the value which has been associated with the given key before the new property was added ornull
if there was no value for the key.- Parameters:
key
- the key to addvalue
- the value to add- Returns:
- the previous value
-
-