@Portable(mapSuperTypes=true) public class PortablePreferenceMockPortableGeneratedImpl extends PortablePreferenceMock implements BasePreferencePortable<PortablePreferenceMock>
| Constructor and Description |
|---|
PortablePreferenceMockPortableGeneratedImpl() |
PortablePreferenceMockPortableGeneratedImpl(String property) |
| Modifier and Type | Method and Description |
|---|---|
String |
bundleKey()
Returns the bundle key registered in the
WorkbenchPreference annotation. |
boolean |
equals(Object o) |
Object |
get(String property)
Returns a property value by its name.
|
Class<PortablePreferenceMock> |
getPojoClass()
Returns the preference bean class.
|
Map<String,PropertyFormType> |
getPropertiesTypes()
Returns the form types of all simple (non-preference) properties by their field name.
|
Map<String,List<PropertyValidator>> |
getPropertiesValidators() |
int |
hashCode() |
String |
identifier()
Unique identifier, used by this preference children to determine their parents.
|
boolean |
isPersistable()
A preference is persistable when it has at least one non-shared property.
|
String[] |
parents()
The preferences which will have this preference as their child.
|
void |
set(String property,
Object value)
Sets a property value by its name.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetPropertyType, getPropertyValidatorspublic PortablePreferenceMockPortableGeneratedImpl()
public PortablePreferenceMockPortableGeneratedImpl(String property)
public Class<PortablePreferenceMock> getPojoClass()
BasePreferencePortablegetPojoClass in interface BasePreferencePortable<PortablePreferenceMock>public String identifier()
BasePreferencePortableidentifier in interface BasePreferencePortable<PortablePreferenceMock>public String[] parents()
BasePreferencePortableparents in interface BasePreferencePortable<PortablePreferenceMock>public String bundleKey()
BasePreferencePortableWorkbenchPreference annotation.bundleKey in interface BasePreferencePortable<PortablePreferenceMock>public void set(String property, Object value)
BasePreferencePortableset in interface BasePreferencePortable<PortablePreferenceMock>property - Name of the property field to be set.value - New value for the property.public Object get(String property)
BasePreferencePortableget in interface BasePreferencePortable<PortablePreferenceMock>property - Name of the property field to be fetched.public Map<String,PropertyFormType> getPropertiesTypes()
BasePreferencePortablegetPropertiesTypes in interface BasePreferencePortable<PortablePreferenceMock>public Map<String,List<PropertyValidator>> getPropertiesValidators()
getPropertiesValidators in interface BasePreferencePortable<PortablePreferenceMock>public boolean isPersistable()
BasePreferencePortableisPersistable in interface BasePreferencePortable<PortablePreferenceMock>Copyright © 2012–2021 JBoss by Red Hat. All rights reserved.