public interface IlvPersistentSDMNodeFactory
IlvPersistentSDMModelProperty
, that indicates the way model nodes should
be created.
Usually creating a symbol is dependent on some application context.
This interface also includes methods to manage that persistent context.Modifier and Type | Method and Description |
---|---|
IlvPersistentObject |
getPersistentContext()
Returns the context that should persist with the model.
|
boolean |
isPropertyIgnored(IlvSDMModel model,
Object node,
String name)
Indicates whether a property that is saved should be ignored at read time.
|
Object |
newSymbol(String tag)
This method will be called when a node needs to be created at read time.
|
void |
setPersistentContext(IlvPersistentObject context)
Sets the context that has persisted with the model.
|
Object newSymbol(String tag)
public void newSymbol(String tag) { return(new IlvDefaultSDMNode(tag)); }
tag
- The tag to be used for the new symbol.boolean isPropertyIgnored(IlvSDMModel model, Object node, String name)
model
- Model impactednode
- Node for which the property needs to be changedname
- Name of the propertynewSymbol(String)
at read time.IlvPersistentObject getPersistentContext()
null
if nothing needs to be persistent.void setPersistentContext(IlvPersistentObject context)
context
- The data that has persisted with the model© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.