Package jetbrains.mps.extapi.model
Interface SModelData
- 
- All Known Implementing Classes:
 CustomPersistenceSModel.StubModel,DefaultSModel,DefaultSModel.InvalidDefaultSModel,SModel,SnapshotModelData,TransientSModel
public interface SModelData 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voidaddRootNode(SNode node)default SModelIdgetModelId()default SModelNamegetModelName()SNodegetNode(SNodeId nodeId)SModelReferencegetReference()Deprecated.Generally, SModelReference may get complete only at the moment model is attached to a module (there's SModelReference.getModuleReference() and we can't assume SModelData is only for UUID models), therefore it's odd to expect SModelReference for an SModelData.Iterable<SNode>getRootNodes()voidremoveRootNode(SNode node) 
 - 
 
- 
- 
Method Detail
- 
getModelId
default SModelId getModelId()
 
- 
getModelName
default SModelName getModelName()
 
- 
getReference
@Deprecated SModelReference getReference()
Deprecated.Generally, SModelReference may get complete only at the moment model is attached to a module (there's SModelReference.getModuleReference() and we can't assume SModelData is only for UUID models), therefore it's odd to expect SModelReference for an SModelData. 
- 
addRootNode
void addRootNode(SNode node)
 
- 
removeRootNode
void removeRootNode(SNode node)
 
 - 
 
 -