public final class EJBPropertyRowCache extends AbstractPropertyAccess implements LocalizedPropertyAccess, Cloneable
BASE_QUALIFIER| Modifier and Type | Method and Description |
|---|---|
void |
changeColumns(List<String> newNames)
no longer needed columns due to internal implementation issues.
|
protected Object |
clone() |
void |
commitProperties() |
static EJBPropertyRowCache |
create(long timestamp,
List<String> names)
create new unlocalized cache without values (assuming null)
|
static EJBPropertyRowCache |
createLocalized(PK langPK,
long timestamp,
List<String> names)
create new localized cache without values (assuming null)
|
Map<String,Object> |
getAllProperties() |
Map<String,Object> |
getAllProperties(PK langPK) |
protected Map<String,Object> |
getAllPropertiesInternal() |
BitSet |
getChangeSet() |
int |
getColumnCount() |
PK |
getItemPK() |
PK |
getLangPK() |
String |
getName(int index) |
Object |
getProperty(String name) |
Object |
getProperty(String name,
PK langPK) |
Set<String> |
getPropertyNames() |
Set<String> |
getPropertyNames(PK langPK) |
protected Set<String> |
getPropertyNamesInternal() |
Object |
getValue(int index) |
boolean |
hasChanged() |
boolean |
hasChanged(int index) |
boolean |
hasModifiedProperties() |
boolean |
isInDatabase() |
boolean |
isLocalized() |
static EJBPropertyRowCache |
load(long timestamp,
List<String> names,
List<Object> values)
loading unlocalized cache
|
static EJBPropertyRowCache |
loadLocalized(PK langPK,
long timestamp,
List<String> names,
List<Object> values)
loading localized cache
|
Object |
removeProperty(String name) |
Object |
removeProperty(String name,
PK langPK) |
void |
rollbackProperties() |
void |
setItemPK(PK itemPK) |
Object |
setProperty(String name,
Object value) |
Object |
setProperty(String name,
PK langPK,
Object value) |
String |
toString() |
void |
wroteChanges(boolean success) |
dispose, firePropertyDataChanged, getOwner, getVersion, registerOwner, setVersionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdispose, registerOwnerpublic static EJBPropertyRowCache createLocalized(PK langPK, long timestamp, List<String> names)
public static EJBPropertyRowCache create(long timestamp, List<String> names)
public static EJBPropertyRowCache loadLocalized(PK langPK, long timestamp, List<String> names, List<Object> values)
public static EJBPropertyRowCache load(long timestamp, List<String> names, List<Object> values)
public PK getItemPK()
public void setItemPK(PK itemPK)
public void changeColumns(List<String> newNames)
public int getColumnCount()
public String getName(int index)
public Object getValue(int index)
public boolean isLocalized()
public PK getLangPK()
public boolean hasChanged()
public boolean isInDatabase()
public boolean hasChanged(int index)
public BitSet getChangeSet()
public void wroteChanges(boolean success)
public Map<String,Object> getAllProperties()
getAllProperties in interface PropertyAccesspublic Object setProperty(String name, Object value)
setProperty in interface PropertyAccesspublic Object getProperty(String name)
getProperty in interface PropertyAccesspublic Object removeProperty(String name)
removeProperty in interface PropertyAccesspublic Set<String> getPropertyNames()
getPropertyNames in interface PropertyAccesspublic boolean hasModifiedProperties()
hasModifiedProperties in interface PropertyAccesspublic void commitProperties()
commitProperties in interface PropertyAccesspublic void rollbackProperties()
rollbackProperties in interface PropertyAccesspublic Map<String,Object> getAllProperties(PK langPK)
getAllProperties in interface LocalizedPropertyAccesspublic Object setProperty(String name, PK langPK, Object value)
setProperty in interface LocalizedPropertyAccesspublic Object getProperty(String name, PK langPK)
getProperty in interface LocalizedPropertyAccesspublic Object removeProperty(String name, PK langPK)
removeProperty in interface LocalizedPropertyAccesspublic Set<String> getPropertyNames(PK langPK)
getPropertyNames in interface LocalizedPropertyAccessprotected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2017 SAP SE. All Rights Reserved.