org.springframework.extensions.surf.types
Class ConfigurationImpl
java.lang.Object
org.springframework.extensions.surf.types.AbstractModelObject
org.springframework.extensions.surf.types.ConfigurationImpl
- All Implemented Interfaces:
- Serializable, ModelObject, ResourceProvider, Configuration
public class ConfigurationImpl
- extends AbstractModelObject
- implements Configuration
Default configuration implementation
- Author:
- muzquiano
- See Also:
- Serialized Form
Fields inherited from class org.springframework.extensions.surf.types.AbstractModelObject |
CONTAINER_PROPERTIES, CONTAINER_RESOURCES, customProperties, description, descriptionId, document, id, info, modelProperties, modelVersion, modificationTime, resourceContainer, title, titleId |
Methods inherited from class org.springframework.extensions.surf.types.AbstractModelObject |
addResource, addResource, getBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModelVersion, getModificationTime, getPersisterId, getProperties, getProperty, getResource, getResourceContainer, getResources, getResourcesMap, getStoragePath, getTitle, getTitleId, isCustomProperty, isModelProperty, isSaved, removeCustomProperty, removeModelProperty, removeProperty, removeResource, setCustomProperty, setDescription, setDescriptionId, setId, setModelProperty, setModificationTime, setProperty, setTitle, setTitleId, toString, touch, toXML, updateResource |
Methods inherited from interface org.springframework.extensions.surf.ModelObject |
getBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModelVersion, getModificationTime, getPersisterId, getProperties, getProperty, getStoragePath, getTitle, getTitleId, isSaved, removeCustomProperty, removeModelProperty, removeProperty, setCustomProperty, setDescription, setDescriptionId, setModelProperty, setProperty, setTitle, setTitleId, touch, toXML |
ConfigurationImpl
public ConfigurationImpl(String id,
ModelPersisterInfo key,
org.dom4j.Document document)
- Instantiates a new configuration for the given xml document.
- Parameters:
document
- the document
getTypeId
public String getTypeId()
- Description copied from interface:
ModelObject
- Returns the type id of the model object.
- Specified by:
getTypeId
in interface ModelObject
- Specified by:
getTypeId
in class AbstractModelObject
- Returns:
- The type id
getSourceId
public String getSourceId()
- Description copied from interface:
Configuration
- Gets the source id.
- Specified by:
getSourceId
in interface Configuration
- Returns:
- the source id
setSourceId
public void setSourceId(String sourceId)
- Description copied from interface:
Configuration
- Sets the source id.
- Specified by:
setSourceId
in interface Configuration
- Parameters:
sourceId
- the new source id
Copyright © 2009 SpringSource, Inc. All Rights Reserved.