p3j.pppm
Class SymbolicProjectionModel
java.lang.Object
james.core.base.Entity
james.core.base.NamedEntity
james.core.model.Model
p3j.pppm.SymbolicProjectionModel
- All Implemented Interfaces:
- james.core.base.IEntity, james.core.base.INamedEntity, james.core.model.IModel, james.core.model.symbolic.ISymbolicModel<IProjectionModel>, james.core.observe.IObservable, Serializable, Comparable<james.core.base.INamedEntity>
public class SymbolicProjectionModel
- extends james.core.model.Model
- implements james.core.model.symbolic.ISymbolicModel<IProjectionModel>
Implementation of ISymbolicModel
that wraps ProjectionModel
.
To be extended in the future.
- Author:
- Christina Bohk, Roland Ewald
- See Also:
- Serialized Form
Fields inherited from class james.core.model.Model |
accessRestriction |
Methods inherited from class james.core.model.Model |
cleanUp, demandsResource, getParam, getParam, init, instantiate, setAccessRestriction, setParam |
Methods inherited from class james.core.base.NamedEntity |
compareTo, getCompleteInfoString, getName, setName, toString |
Methods inherited from class james.core.base.Entity |
changed, changed, getMediator, getSimpleId, isObserved, registerObserver, report, report, report, report, report, report, report, report, setMediator, unregister, unregisterObserver, unregisterObservers |
Methods inherited from interface james.core.base.INamedEntity |
compareTo, getName, setName |
Methods inherited from interface james.core.base.IEntity |
getCompleteInfoString, getSimpleId |
Methods inherited from interface james.core.observe.IObservable |
changed, getMediator, registerObserver, setMediator, unregisterObserver, unregisterObservers |
SymbolicProjectionModel
public SymbolicProjectionModel(ProjectionModel pModel)
- Instantiates a new symbolic projection model.
- Parameters:
pModel
- the actual projection model
getAsDataStructure
public IProjectionModel getAsDataStructure()
- Specified by:
getAsDataStructure
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
setFromDataStructure
public boolean setFromDataStructure(IProjectionModel model)
- Specified by:
setFromDataStructure
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
getAsDocument
public james.core.model.symbolic.convert.IDocument<?> getAsDocument(Class<? extends james.core.model.symbolic.convert.IDocument<?>> targetFormat)
- Specified by:
getAsDocument
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
setFromDocument
public boolean setFromDocument(james.core.model.symbolic.convert.IDocument<?> model)
- Specified by:
setFromDocument
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
removeSource
public void removeSource()
- Specified by:
removeSource
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
setSource
public void setSource(String src,
james.core.data.model.read.plugintype.IMIMEType mime)
- Specified by:
setSource
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
isSourceAvailable
public boolean isSourceAvailable()
- Specified by:
isSourceAvailable
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
getSource
public String getSource()
- Specified by:
getSource
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
getSourceMimeType
public james.core.data.model.read.plugintype.IMIMEType getSourceMimeType()
- Specified by:
getSourceMimeType
in interface james.core.model.symbolic.ISymbolicModel<IProjectionModel>
Copyright © 2012. All Rights Reserved.