kaos.time
Class DurationDescriptionImpl

java.lang.Object
  extended by kaos.core.csi.OntInstanceDescriptionImpl
      extended by kaos.time.DurationDescriptionImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, OntInstanceDescription, DurationDescription

public class DurationDescriptionImpl
extends OntInstanceDescriptionImpl
implements DurationDescription

This interface represents Time TemporalEntity. $Revision: 1.2 $

See Also:
Serialized Form

Constructor Summary
DurationDescriptionImpl(SerializableOntModelImpl sourceModel)
           
DurationDescriptionImpl(java.lang.String myName)
           
 
Method Summary
 int getDays()
           
 int getHours()
           
 int getMinutes()
           
 int getMonths()
           
 int getSeconds()
           
 int getWeeks()
           
 int getYears()
           
 void setDays(int days)
           
 void setHours(int hours)
           
 void setMinutes(int minutes)
           
 void setMonths(int months)
           
 void setSeconds(int seconds)
           
 void setWeeks(int weeks)
           
 void setYears(int years)
           
 
Methods inherited from class kaos.core.csi.OntInstanceDescriptionImpl
addProperty, addProperty, addType, addValueForProperty, addValueForProperty, clone, createValueDescription, equals, getAllValueDescriptionsForProperty, getAllValuesForProperty, getDescriptionOfFirstValueForProperty, getFirstType, getFirstValueForProperty, getInstanceID, getInstanceOntModel, getName, getNestedProperty, getProperties, getPropertiesMap, getProperty, getTypes, hashCode, removeProperty, removeType, setProperty, setValueForProperty, setValueForProperty, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface kaos.core.csi.OntInstanceDescription
addProperty, addProperty, addType, clone, getFirstType, getInstanceOntModel, getName, getNestedProperty, getProperties, getPropertiesMap, getProperty, getTypes, removeProperty, removeType
 

Constructor Detail

DurationDescriptionImpl

public DurationDescriptionImpl(java.lang.String myName)
                        throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

DurationDescriptionImpl

public DurationDescriptionImpl(SerializableOntModelImpl sourceModel)
                        throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException
Method Detail

getDays

public int getDays()
Specified by:
getDays in interface DurationDescription

getHours

public int getHours()
Specified by:
getHours in interface DurationDescription

getMinutes

public int getMinutes()
Specified by:
getMinutes in interface DurationDescription

getMonths

public int getMonths()
Specified by:
getMonths in interface DurationDescription

getSeconds

public int getSeconds()
Specified by:
getSeconds in interface DurationDescription

getWeeks

public int getWeeks()
Specified by:
getWeeks in interface DurationDescription

getYears

public int getYears()
Specified by:
getYears in interface DurationDescription

setDays

public void setDays(int days)
Specified by:
setDays in interface DurationDescription

setHours

public void setHours(int hours)
Specified by:
setHours in interface DurationDescription

setMinutes

public void setMinutes(int minutes)
Specified by:
setMinutes in interface DurationDescription

setMonths

public void setMonths(int months)
Specified by:
setMonths in interface DurationDescription

setSeconds

public void setSeconds(int seconds)
Specified by:
setSeconds in interface DurationDescription

setWeeks

public void setWeeks(int weeks)
Specified by:
setWeeks in interface DurationDescription

setYears

public void setYears(int years)
Specified by:
setYears in interface DurationDescription