org.jboss.dashboard.provider
Class AbstractDataProperty
java.lang.Object
org.jboss.dashboard.provider.AbstractDataProperty
- All Implemented Interfaces:
- Cloneable, DataProperty
public class AbstractDataProperty
- extends Object
- implements DataProperty
Base class for the implementation of custom data properties.
id
protected String id
nameI18nMap
protected Map<Locale,String> nameI18nMap
dataSet
protected DataSet dataSet
domain
protected Domain domain
AbstractDataProperty
public AbstractDataProperty()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getPropertyId
public String getPropertyId()
- Specified by:
getPropertyId in interface DataProperty
setPropertyId
public void setPropertyId(String id)
- Specified by:
setPropertyId in interface DataProperty
getName
public String getName(Locale l)
- Specified by:
getName in interface DataProperty
setName
public void setName(String name,
Locale l)
- Specified by:
setName in interface DataProperty
getDataSet
public DataSet getDataSet()
- Specified by:
getDataSet in interface DataProperty
setDataSet
public void setDataSet(DataSet dataSet)
- Specified by:
setDataSet in interface DataProperty
getDomain
public Domain getDomain()
- Specified by:
getDomain in interface DataProperty
setDomain
public void setDomain(Domain domain)
- Specified by:
setDomain in interface DataProperty
getValues
public List getValues()
- Specified by:
getValues in interface DataProperty
getNameI18nMap
public Map<Locale,String> getNameI18nMap()
- Specified by:
getNameI18nMap in interface DataProperty
setNameI18nMap
public void setNameI18nMap(Map<Locale,String> nameI18nMap)
- Specified by:
setNameI18nMap in interface DataProperty
cloneProperty
public DataProperty cloneProperty()
- Specified by:
cloneProperty in interface DataProperty
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.