public final class PropertyManager extends Object
"foo" has nothing in common with a local
property called "foo".| Constructor and Description |
|---|
PropertyManager(ProjectSpace projectSpace)
PropertyManager constructor.
|
| Modifier and Type | Method and Description |
|---|---|
EMFStoreProperty |
getLocalProperty(String propertyName)
Retrieves a local property.
|
String |
getLocalStringProperty(String propertyName)
Retrieves a local string property.
|
EMFStoreProperty |
getSharedProperty(String propertyName)
Retrieves the shared property with the given name.
|
String |
getSharedStringProperty(String propertyName)
Retrieves a shared string property.
|
void |
setLocalProperty(String propertyName,
org.eclipse.emf.ecore.EObject value)
Set a local property.
|
void |
setLocalStringProperty(String propertyName,
String value)
Sets a local string property.
|
void |
setSharedProperty(String propertyName,
org.eclipse.emf.ecore.EObject value)
Set a shared property.
|
void |
setSharedStringProperty(String propertyName,
String string)
Set a shared string property.
|
void |
setSharedVersionedProperty(String propertyName,
org.eclipse.emf.ecore.EObject value)
Sets the property with the given name to the given value.
|
void |
setSharedVersionedStringProperty(String propertyName,
String string)
Set a versioned shared string property.
|
void |
synchronizeSharedProperties()
Transmit changed shared properties to the server.
|
public PropertyManager(ProjectSpace projectSpace)
projectSpace - the project space that should get managed by the property
managerpublic void setLocalProperty(String propertyName, org.eclipse.emf.ecore.EObject value)
propertyName - the name of the local propertyvalue - the actual value of the propertypublic void setLocalStringProperty(String propertyName, String value)
propertyName - the name of the local propertyvalue - the value of the local propertypublic EMFStoreProperty getLocalProperty(String propertyName)
propertyName - the name of the local propertypublic String getLocalStringProperty(String propertyName)
propertyName - the name of a local string propertynullpublic void setSharedVersionedProperty(String propertyName, org.eclipse.emf.ecore.EObject value)
propertyName - the name of the property to be setvalue - the actual value of the propertypublic void setSharedStringProperty(String propertyName, String string)
propertyName - the name of the shared propertystring - the string value that should be setpublic void setSharedVersionedStringProperty(String propertyName, String string)
propertyName - the name of the shared propertystring - the string value that should be setpublic void setSharedProperty(String propertyName, org.eclipse.emf.ecore.EObject value)
propertyName - the name of the shared propertyvalue - the value of the shared propertypublic EMFStoreProperty getSharedProperty(String propertyName)
propertyName - the name of the shared propertypublic String getSharedStringProperty(String propertyName)
propertyName - of the shared property as Stringnullpublic void synchronizeSharedProperties()
throws AccessControlException,
ESException,
EMFStorePropertiesOutdatedException
AccessControlException - if the caller has no write access to the project spaceESException - if the project space being manipulated is not yet shared or
an error occurs within EMFStoreEMFStorePropertiesOutdatedException - if any changed property is outdatedCopyright © 2017. All rights reserved.