public class SymbolicProjectionModel extends james.core.model.Model implements james.core.model.symbolic.ISymbolicModel<IProjectionModel>
ISymbolicModel
that wraps ProjectionModel
.
To be extended in the future.Constructor and Description |
---|
SymbolicProjectionModel(ProjectionModel pModel)
Instantiates a new symbolic projection model.
|
Modifier and Type | Method and Description |
---|---|
IProjectionModel |
getAsDataStructure() |
james.core.model.symbolic.convert.IDocument<?> |
getAsDocument(Class<? extends james.core.model.symbolic.convert.IDocument<?>> targetFormat) |
String |
getSource() |
james.core.data.model.read.plugintype.IMIMEType |
getSourceMimeType() |
boolean |
isSourceAvailable() |
void |
removeSource() |
boolean |
setFromDataStructure(IProjectionModel model) |
boolean |
setFromDocument(james.core.model.symbolic.convert.IDocument<?> model) |
void |
setSource(String src,
james.core.data.model.read.plugintype.IMIMEType mime) |
cleanUp, demandsResource, getParam, getParam, init, instantiate, setAccessRestriction, setParam
compareTo, getCompleteInfoString, getName, setName, toString
changed, changed, getMediator, getSimpleId, isObserved, registerObserver, report, report, report, report, report, report, report, report, setMediator, unregister, unregisterObserver, unregisterObservers
public SymbolicProjectionModel(ProjectionModel pModel)
pModel
- the actual projection modelpublic IProjectionModel getAsDataStructure()
getAsDataStructure
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
public boolean setFromDataStructure(IProjectionModel model)
setFromDataStructure
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
public james.core.model.symbolic.convert.IDocument<?> getAsDocument(Class<? extends james.core.model.symbolic.convert.IDocument<?>> targetFormat)
getAsDocument
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
public boolean setFromDocument(james.core.model.symbolic.convert.IDocument<?> model)
setFromDocument
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
public void removeSource()
removeSource
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
public void setSource(String src, james.core.data.model.read.plugintype.IMIMEType mime)
setSource
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
public boolean isSourceAvailable()
isSourceAvailable
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
public String getSource()
getSource
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
public james.core.data.model.read.plugintype.IMIMEType getSourceMimeType()
getSourceMimeType
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
Copyright © 2012. All Rights Reserved.