Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.eclipselink.core.context.persistence
Class CachingEntity

java.lang.Object
  extended by org.eclipse.jpt.common.utility.internal.model.AbstractModel
      extended by org.eclipse.jpt.jpa.eclipselink.core.context.persistence.CachingEntity
All Implemented Interfaces:
Serializable, Cloneable, Model

public class CachingEntity
extends org.eclipse.jpt.common.utility.internal.model.AbstractModel
implements Cloneable, Serializable

Entity

See Also:
Serialized Form

Nested Class Summary
static class CachingEntity.NameTransformer
           
 
Field Summary
static String CACHE_SIZE_PROPERTY
           
static String CACHE_TYPE_PROPERTY
           
static org.eclipse.jpt.common.utility.transformer.Transformer<CachingEntity,String> NAME_TRANSFORMER
           
static String SHARED_CACHE_PROPERTY
           
 
Fields inherited from class org.eclipse.jpt.common.utility.internal.model.AbstractModel
changeSupport
 
Constructor Summary
CachingEntity(Caching parent, String name)
           
 
Method Summary
 Boolean cacheIsShared()
           
 CachingEntity clone()
           
 boolean entityNameIsValid()
           
 boolean equals(Object o)
           
 Integer getCacheSize()
           
 CacheType getCacheType()
           
 String getName()
           
 Caching getParent()
           
 int hashCode()
           
 boolean isEmpty()
           
 void setCacheSize(Integer cacheSize)
           
 void setCacheType(CacheType cacheType)
           
 void setSharedCache(Boolean isShared)
           
 void toString(StringBuilder sb)
           
 
Methods inherited from class org.eclipse.jpt.common.utility.internal.model.AbstractModel
addChangeListener, addCollectionChangeListener, addItemsToCollection, addItemsToCollection, addItemsToCollection, addItemsToCollection, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemToCollection, addItemToList, addItemToList, addListChangeListener, addPropertyChangeListener, addStateChangeListener, attributeValueHasChanged, attributeValueHasNotChanged, buildChangeSupport, clearCollection, clearList, fireCollectionChanged, fireCollectionChanged, fireCollectionCleared, fireCollectionCleared, fireItemAdded, fireItemAdded, fireItemMoved, fireItemRemoved, fireItemRemoved, fireItemReplaced, fireItemsAdded, fireItemsAdded, fireItemsAdded, fireItemsAdded, fireItemsMoved, fireItemsMoved, fireItemsRemoved, fireItemsRemoved, fireItemsRemoved, fireItemsRemoved, fireItemsReplaced, fireItemsReplaced, fireListChanged, fireListChanged, fireListCleared, fireListCleared, firePropertyChanged, firePropertyChanged, firePropertyChanged, firePropertyChanged, firePropertyChanged, fireStateChanged, fireStateChanged, getChangeSupport, hasAnyChangeListeners, hasAnyCollectionChangeListeners, hasAnyListChangeListeners, hasAnyPropertyChangeListeners, hasAnyStateChangeListeners, hasNoChangeListeners, hasNoCollectionChangeListeners, hasNoListChangeListeners, hasNoPropertyChangeListeners, hasNoStateChangeListeners, moveItemInList, moveItemInList, moveItemsInList, removeChangeListener, removeCollectionChangeListener, removeItemFromCollection, removeItemFromList, removeItemFromList, removeItemsFromCollection, removeItemsFromCollection, removeItemsFromCollection, removeItemsFromCollection, removeItemsFromList, removeItemsFromList, removeItemsFromList, removeItemsFromList, removeItemsFromList, removeItemsFromList, removeListChangeListener, removePropertyChangeListener, removeRangeFromList, removeStateChangeListener, replaceItemInList, retainItemsInCollection, retainItemsInCollection, retainItemsInCollection, retainItemsInCollection, retainItemsInList, retainItemsInList, retainItemsInList, retainItemsInList, setItemInList, setItemsInList, setItemsInList, synchronizeCollection, synchronizeCollection, synchronizeCollection, synchronizeList, synchronizeList, synchronizeList, toString, valuesAreDifferent, valuesAreEqual
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CACHE_TYPE_PROPERTY

public static final String CACHE_TYPE_PROPERTY
See Also:
Constant Field Values

CACHE_SIZE_PROPERTY

public static final String CACHE_SIZE_PROPERTY
See Also:
Constant Field Values

SHARED_CACHE_PROPERTY

public static final String SHARED_CACHE_PROPERTY
See Also:
Constant Field Values

NAME_TRANSFORMER

public static final org.eclipse.jpt.common.utility.transformer.Transformer<CachingEntity,String> NAME_TRANSFORMER
Constructor Detail

CachingEntity

public CachingEntity(Caching parent,
                     String name)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public CachingEntity clone()
Overrides:
clone in class org.eclipse.jpt.common.utility.internal.model.AbstractModel

isEmpty

public boolean isEmpty()

entityNameIsValid

public boolean entityNameIsValid()

getParent

public Caching getParent()

getName

public String getName()

getCacheType

public CacheType getCacheType()

setCacheType

public void setCacheType(CacheType cacheType)

getCacheSize

public Integer getCacheSize()

setCacheSize

public void setCacheSize(Integer cacheSize)

cacheIsShared

public Boolean cacheIsShared()

setSharedCache

public void setSharedCache(Boolean isShared)

toString

public void toString(StringBuilder sb)
Overrides:
toString in class org.eclipse.jpt.common.utility.internal.model.AbstractModel

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.