@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, wait
getPropertyType, getPropertyValidators
public PortablePreferenceMockPortableGeneratedImpl()
public PortablePreferenceMockPortableGeneratedImpl(String property)
public Class<PortablePreferenceMock> getPojoClass()
BasePreferencePortable
getPojoClass
in interface BasePreferencePortable<PortablePreferenceMock>
public String identifier()
BasePreferencePortable
identifier
in interface BasePreferencePortable<PortablePreferenceMock>
public String[] parents()
BasePreferencePortable
parents
in interface BasePreferencePortable<PortablePreferenceMock>
public String bundleKey()
BasePreferencePortable
WorkbenchPreference
annotation.bundleKey
in interface BasePreferencePortable<PortablePreferenceMock>
public void set(String property, Object value)
BasePreferencePortable
set
in interface BasePreferencePortable<PortablePreferenceMock>
property
- Name of the property field to be set.value
- New value for the property.public Object get(String property)
BasePreferencePortable
get
in interface BasePreferencePortable<PortablePreferenceMock>
property
- Name of the property field to be fetched.public Map<String,PropertyFormType> getPropertiesTypes()
BasePreferencePortable
getPropertiesTypes
in interface BasePreferencePortable<PortablePreferenceMock>
public Map<String,List<PropertyValidator>> getPropertiesValidators()
getPropertiesValidators
in interface BasePreferencePortable<PortablePreferenceMock>
public boolean isPersistable()
BasePreferencePortable
isPersistable
in interface BasePreferencePortable<PortablePreferenceMock>
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.