public class RecordProxySetValue extends Object implements SimpleValue, Collectible, EntityWithId, ModelInstanceAware, CommonRecordValue
| Constructor and Description | 
|---|
| RecordProxySetValue(long id,
                   ModelInstance modelInstance,
                   Value parentProxySet,
                   Set<Value> proxies) | 
| RecordProxySetValue(SRecordProxySet source,
                   ModelInstance modelInstance) | 
| Modifier and Type | Method and Description | 
|---|---|
| <T,E extends Throwable> | accept(ValueVisitor<T,E> visitor)Accepts visitor. | 
| void | addProxy(RecordValue recordValue) | 
| void | collect()Removes itself from the process. | 
| void | convertToDirectReferences() | 
| protected Context | createContext(long parentContextId) | 
| RecordProxySetValue | createCopy(ModelInstance targetModelInstance)Creates a copy without references to other objects. | 
| void | finishCopy(com.whitestein.lsps.engine.state.xml.Copiable source,
          CopyHelper helper)Copy references. | 
| Type | getCompiledType(ModelProvider modelProvider)Returns the compiled type. | 
| Handle | getHandle()Returns handle. | 
| long | getId()Returns the id. | 
| ModelInstance | getModelInstance()Returns the model instance. | 
| Context | getOwnContext(long parentContextId)Returns own context | 
| RecordProxySetValue | getParentProxySet() | 
| List<CommonRecordValue> | getProxiedRecords() | 
| Set<Value> | getProxies() | 
| RecordValue | getProxyFor(CommonRecordValue val) | 
| int | getProxyLevel() | 
| Collection<Collectible> | getReferences()Returns collection of all referenced collectible objects. | 
| String | getType()Returns the type. | 
| Object | getValue()Returns the contained value. | 
| boolean | isPersistent()Returns true if this object cannot be collected. | 
| boolean | isRemoved()Returns true if value is removed | 
| void | rebind(ModelInstance modelInstance)Re-bind to the provided model instance. | 
| void | refreshDirectReferences() | 
| void | removeAllDeleted() | 
| void | removeProxy(RecordValue recordValue) | 
| SRecordProxySet | toSerializable(SModelInstance smi,
              MarshallerConfig config)Creates a serializable object. | 
| SimpleValue | toSimpleValue()If this is  SimpleValuethis method returns this, otherwise it returns aValueRefto this. | 
| Value | toValue()If this is a  ValueRefthis method returns the referenced value, otherwise it returns
 this. | 
public RecordProxySetValue(long id,
                           ModelInstance modelInstance,
                           Value parentProxySet,
                           Set<Value> proxies)
public RecordProxySetValue(SRecordProxySet source, ModelInstance modelInstance)
public boolean isPersistent()
CollectibleisPersistent in interface Collectiblepublic Collection<Collectible> getReferences()
CollectiblegetReferences in interface Collectiblepublic void collect()
Collectiblecollect in interface Collectiblepublic long getId()
EntityWithIdgetId in interface CommonRecordValuegetId in interface EntityWithIdpublic ModelInstance getModelInstance()
ModelInstanceAwaregetModelInstance in interface CommonRecordValuegetModelInstance in interface ModelInstanceAwarepublic void rebind(ModelInstance modelInstance)
ModelInstanceAwarerebind in interface ModelInstanceAwarepublic void addProxy(RecordValue recordValue)
public int getProxyLevel()
public void removeProxy(RecordValue recordValue)
public void removeAllDeleted()
public List<CommonRecordValue> getProxiedRecords()
public RecordValue getProxyFor(CommonRecordValue val)
public RecordProxySetValue getParentProxySet()
public SRecordProxySet toSerializable(SModelInstance smi, MarshallerConfig config)
SimpleValuetoSerializable in interface SimpleValuetoSerializable in interface Valuepublic void convertToDirectReferences()
public void refreshDirectReferences()
public <T,E extends Throwable> T accept(ValueVisitor<T,E> visitor) throws E extends Throwable
Valuepublic RecordProxySetValue createCopy(ModelInstance targetModelInstance)
public void finishCopy(com.whitestein.lsps.engine.state.xml.Copiable source,
                       CopyHelper helper)
finishCopy in interface SimpleValuepublic SimpleValue toSimpleValue()
ValueSimpleValue this method returns this, otherwise it returns a
 ValueRef to this.toSimpleValue in interface ValueSimpleValuepublic Value toValue()
ValueValueRef this method returns the referenced value, otherwise it returns
 this.public Type getCompiledType(ModelProvider modelProvider)
ValuegetCompiledType in interface Valuepublic boolean isRemoved()
Valuepublic Object getValue()
SimpleValuegetValue in interface SimpleValuepublic Handle getHandle()
protected Context createContext(long parentContextId)
public Context getOwnContext(long parentContextId)
getOwnContext in interface CommonRecordValueparentContextId - Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.