de.smartics.properties.api.core.domain
Class PropertyProjectdoc

Package class diagram package PropertyProjectdoc
java.lang.Object
  extended by de.smartics.properties.api.core.domain.ProjectdocMetaData
      extended by de.smartics.properties.api.core.domain.PropertyProjectdoc
All Implemented Interfaces:
DocumentMetaData, Serializable

public final class PropertyProjectdoc
     
     
extends ProjectdocMetaData

Provides property information read from an SDoc XML document.

See Also:
Serialized Form

Constructor Summary
PropertyProjectdoc()
          Default constructor without parent.
PropertyProjectdoc(ProjectdocMetaData parent)
          Default constructor with parent.
 
Method Summary
 PropertyComment getComment()
          Returns the property comment.
 SourceInfo getSourceInfo()
          Returns the information on the property's source code.
 void setComment(PropertyComment comment)
          Sets the property comment.
 void setSourceInfo(SourceInfo sourceInfo)
          Sets the information on the property's source code.
static PropertyProjectdoc upgrade(ProjectdocMetaData metaData)
          Upgrades the meta data to an instance of this type.
 
Methods inherited from class de.smartics.properties.api.core.domain.ProjectdocMetaData
addAudience, addCategory, addElement, addNote, addParent, addTag, getAudience, getCategories, getName, getNotes, getParent, getParents, getShortDescription, getSortKey, getSpace, getSummary, getTags, getTitle, setName, setShortDescription, setSortKey, setSpace, setSummary, setTitle, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyProjectdoc

public PropertyProjectdoc()
Default constructor without parent.


PropertyProjectdoc

public PropertyProjectdoc(ProjectdocMetaData parent)
Default constructor with parent.

Parameters:
parent - the reference to the parent meta data to access as default values.
Method Detail

getComment

public PropertyComment getComment()
Returns the property comment.

Returns:
the property comment.

setComment

public void setComment(PropertyComment comment)
Sets the property comment.

Parameters:
comment - the property comment.

getSourceInfo

public SourceInfo getSourceInfo()
Returns the information on the property's source code.

Returns:
the information on the property's source code.

setSourceInfo

public void setSourceInfo(SourceInfo sourceInfo)
Sets the information on the property's source code.

Parameters:
sourceInfo - the information on the property's source code.

upgrade

public static PropertyProjectdoc upgrade(ProjectdocMetaData metaData)
Upgrades the meta data to an instance of this type.

Parameters:
metaData - the information to upgrade.
Returns:
the upgraded information, that is the given meta data copied to this type.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.