com.dynamide.datatypes
Class Version

java.lang.Object
  extended by com.dynamide.DynamideObject
      extended by com.dynamide.datatypes.Datatype
          extended by com.dynamide.datatypes.ExpandableDatatype
              extended by com.dynamide.datatypes.Version
All Implemented Interfaces:
IGet

public class Version
extends ExpandableDatatype

A simple datatype to wrap version information, as used by Dynamide Assemblies. Example: <property name="items"> <datatype>com.dynamide.datatypes.Enumeration</datatype> <value> <enumeration override="true"> <item datatype="com.dynamide.datatypes.Version"> <basename>com-dynamide-lib</basename> <interface>1</interface> <build>59+</build> </item> ...

Defines the following elements:


Field Summary
 
Fields inherited from class com.dynamide.DynamideObject
m_id
 
Constructor Summary
Version()
           
Version(DynamideObject owner, Session session)
           
Version(java.lang.String basename, java.lang.String interfaceString, java.lang.String build)
           
 
Method Summary
 void addXMLContentTo(org.jdom.Element container)
           
 java.lang.String getDotName()
           
 void init(org.jdom.Element element, java.lang.String ownerID)
           
 java.lang.String toString()
           
 ValidationResult validate()
           
 
Methods inherited from class com.dynamide.datatypes.ExpandableDatatype
get
 
Methods inherited from class com.dynamide.datatypes.Datatype
clone, createClone, dump, dumpHTML, finalize, getAsStored, getDatatypeClassName, getDatatypeClassName, getDatatypeClassName, getDatatypeInstance, getProperty, getSession, insertItemDatatype, set, setProperty, setSession
 
Methods inherited from class com.dynamide.DynamideObject
clearProfiler, dump, expand, findParentExpander, findParentPage, findParentSession, findTopParentPage, getCategoryID, getID, getNextGetter, getObjectID, getOwner, getProfiler, isDebugEnabled, isInfoEnabled, logDebug, logDebug, logDebug, logDebug, logError, logError, logError, logError, logInfo, logInfo, logInfo, logInfo, logWarn, logWarn, logWarn, logWarn, popLogContext, printf, printProfiler, profileEnter, profileLeave, pushLogContext, setDotName, setID, setNextGetter, setObjectID, setOwner, sprintf, useProfiler, walkParents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Version

public Version()

Version

public Version(DynamideObject owner,
               Session session)

Version

public Version(java.lang.String basename,
               java.lang.String interfaceString,
               java.lang.String build)
Method Detail

init

public void init(org.jdom.Element element,
                 java.lang.String ownerID)
          throws DatatypeException
Overrides:
init in class Datatype
Throws:
DatatypeException

addXMLContentTo

public void addXMLContentTo(org.jdom.Element container)
Specified by:
addXMLContentTo in class Datatype

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

validate

public ValidationResult validate()
Overrides:
validate in class Datatype

getDotName

public java.lang.String getDotName()
Overrides:
getDotName in class DynamideObject


Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.