de.topicmapslab.majortom.revision.core
Class ReadOnlyDatatypeAware

java.lang.Object
  extended by de.topicmapslab.majortom.revision.core.ReadOnlyConstruct
      extended by de.topicmapslab.majortom.revision.core.ReadOnlyReifiable
          extended by de.topicmapslab.majortom.revision.core.ReadOnlyScopable
              extended by de.topicmapslab.majortom.revision.core.ReadOnlyDatatypeAware
All Implemented Interfaces:
de.topicmapslab.majortom.model.core.IConstruct, de.topicmapslab.majortom.model.core.IDatatypeAware, de.topicmapslab.majortom.model.core.IReifiable, de.topicmapslab.majortom.model.core.IScopable, java.io.Serializable, java.lang.Comparable<de.topicmapslab.majortom.model.core.IConstruct>, org.tmapi.core.Construct, org.tmapi.core.DatatypeAware, org.tmapi.core.Reifiable, org.tmapi.core.Scoped
Direct Known Subclasses:
ReadOnlyOccurrence, ReadOnlyVariant

public abstract class ReadOnlyDatatypeAware
extends ReadOnlyScopable
implements de.topicmapslab.majortom.model.core.IDatatypeAware

Author:
Sven Krosse
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
ReadOnlyDatatypeAware(de.topicmapslab.majortom.model.core.IDatatypeAware clone)
           
 
Method Summary
 java.lang.Boolean booleanValue()
          
 de.topicmapslab.geotype.wgs84.Wgs84Coordinate coordinateValue()
          
 java.util.Calendar dateTimeValue()
          
 java.math.BigDecimal decimalValue()
          
 java.lang.Double doubleValue()
          
 float floatValue()
          
 java.lang.String getValue()
          
 java.math.BigInteger integerValue()
          
 int intValue()
          
 org.tmapi.core.Locator locatorValue()
          
 long longValue()
          
protected abstract  java.lang.Object objectValue()
          Return the internal value of this occurrence.
 void setValue(java.math.BigDecimal arg0)
          
 void setValue(java.math.BigInteger arg0)
          
 void setValue(java.lang.Boolean value)
          
 void setValue(java.util.Calendar value)
          
 void setValue(java.lang.Double value)
          
 void setValue(float arg0)
          
 void setValue(int arg0)
          
 void setValue(org.tmapi.core.Locator arg0)
          
 void setValue(long arg0)
          
 void setValue(java.lang.String arg0)
          
 void setValue(java.lang.String arg0, org.tmapi.core.Locator arg1)
          
 void setValue(java.net.URI value)
          
 void setValue(de.topicmapslab.geotype.wgs84.Wgs84Circuit value)
          
 void setValue(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value)
          
 de.topicmapslab.geotype.wgs84.Wgs84Circuit surfaceValue()
          
 java.net.URI uriValue()
          
 
Methods inherited from class de.topicmapslab.majortom.revision.core.ReadOnlyScopable
addTheme, getScope, removeTheme
 
Methods inherited from class de.topicmapslab.majortom.revision.core.ReadOnlyReifiable
setReifier
 
Methods inherited from class de.topicmapslab.majortom.revision.core.ReadOnlyConstruct
addItemIdentifier, compareTo, equals, getId, getTopicMap, hashCode, isRemoved, longId, remove, remove, removeItemIdentifier, setRemoved
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tmapi.core.DatatypeAware
getDatatype
 
Methods inherited from interface org.tmapi.core.Reifiable
getReifier, setReifier
 
Methods inherited from interface org.tmapi.core.Scoped
addTheme, getScope, removeTheme
 
Methods inherited from interface org.tmapi.core.Construct
addItemIdentifier, equals, getId, getItemIdentifiers, getParent, getTopicMap, hashCode, remove, removeItemIdentifier
 
Methods inherited from interface de.topicmapslab.majortom.model.core.IConstruct
getTopicMap, isRemoved, longId, remove
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface de.topicmapslab.majortom.model.core.IScopable
getScopeObject, getTopicMap
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ReadOnlyDatatypeAware

public ReadOnlyDatatypeAware(de.topicmapslab.majortom.model.core.IDatatypeAware clone)
Parameters:
clone -
Method Detail

booleanValue

public java.lang.Boolean booleanValue()
                               throws java.text.ParseException

Specified by:
booleanValue in interface de.topicmapslab.majortom.model.core.IDatatypeAware
Throws:
java.text.ParseException

coordinateValue

public de.topicmapslab.geotype.wgs84.Wgs84Coordinate coordinateValue()
                                                              throws java.text.ParseException

Specified by:
coordinateValue in interface de.topicmapslab.majortom.model.core.IDatatypeAware
Throws:
java.text.ParseException

dateTimeValue

public java.util.Calendar dateTimeValue()
                                 throws java.text.ParseException

Specified by:
dateTimeValue in interface de.topicmapslab.majortom.model.core.IDatatypeAware
Throws:
java.text.ParseException

doubleValue

public java.lang.Double doubleValue()
                             throws java.lang.NumberFormatException

Specified by:
doubleValue in interface de.topicmapslab.majortom.model.core.IDatatypeAware
Throws:
java.lang.NumberFormatException

setValue

public void setValue(java.lang.Boolean value)

Specified by:
setValue in interface de.topicmapslab.majortom.model.core.IDatatypeAware

setValue

public void setValue(java.lang.Double value)

Specified by:
setValue in interface de.topicmapslab.majortom.model.core.IDatatypeAware

setValue

public void setValue(java.util.Calendar value)

Specified by:
setValue in interface de.topicmapslab.majortom.model.core.IDatatypeAware

setValue

public void setValue(java.net.URI value)

Specified by:
setValue in interface de.topicmapslab.majortom.model.core.IDatatypeAware

setValue

public void setValue(de.topicmapslab.geotype.wgs84.Wgs84Coordinate value)

Specified by:
setValue in interface de.topicmapslab.majortom.model.core.IDatatypeAware

setValue

public void setValue(de.topicmapslab.geotype.wgs84.Wgs84Circuit value)

Specified by:
setValue in interface de.topicmapslab.majortom.model.core.IDatatypeAware

objectValue

protected abstract java.lang.Object objectValue()
Return the internal value of this occurrence.

Returns:
the value as object

getValue

public java.lang.String getValue()

Specified by:
getValue in interface org.tmapi.core.DatatypeAware

surfaceValue

public de.topicmapslab.geotype.wgs84.Wgs84Circuit surfaceValue()
                                                        throws java.text.ParseException

Specified by:
surfaceValue in interface de.topicmapslab.majortom.model.core.IDatatypeAware
Throws:
java.text.ParseException

uriValue

public java.net.URI uriValue()
                      throws java.net.URISyntaxException

Specified by:
uriValue in interface de.topicmapslab.majortom.model.core.IDatatypeAware
Throws:
java.net.URISyntaxException

decimalValue

public java.math.BigDecimal decimalValue()

Specified by:
decimalValue in interface org.tmapi.core.DatatypeAware

floatValue

public float floatValue()

Specified by:
floatValue in interface org.tmapi.core.DatatypeAware

intValue

public int intValue()

Specified by:
intValue in interface org.tmapi.core.DatatypeAware

integerValue

public java.math.BigInteger integerValue()

Specified by:
integerValue in interface org.tmapi.core.DatatypeAware

locatorValue

public org.tmapi.core.Locator locatorValue()

Specified by:
locatorValue in interface org.tmapi.core.DatatypeAware

longValue

public long longValue()

Specified by:
longValue in interface org.tmapi.core.DatatypeAware

setValue

public void setValue(java.lang.String arg0)
              throws org.tmapi.core.ModelConstraintException

Specified by:
setValue in interface org.tmapi.core.DatatypeAware
Throws:
org.tmapi.core.ModelConstraintException

setValue

public void setValue(org.tmapi.core.Locator arg0)
              throws org.tmapi.core.ModelConstraintException

Specified by:
setValue in interface org.tmapi.core.DatatypeAware
Throws:
org.tmapi.core.ModelConstraintException

setValue

public void setValue(java.math.BigDecimal arg0)
              throws org.tmapi.core.ModelConstraintException

Specified by:
setValue in interface org.tmapi.core.DatatypeAware
Throws:
org.tmapi.core.ModelConstraintException

setValue

public void setValue(java.math.BigInteger arg0)
              throws org.tmapi.core.ModelConstraintException

Specified by:
setValue in interface org.tmapi.core.DatatypeAware
Throws:
org.tmapi.core.ModelConstraintException

setValue

public void setValue(long arg0)

Specified by:
setValue in interface org.tmapi.core.DatatypeAware

setValue

public void setValue(float arg0)

Specified by:
setValue in interface org.tmapi.core.DatatypeAware

setValue

public void setValue(int arg0)

Specified by:
setValue in interface org.tmapi.core.DatatypeAware

setValue

public void setValue(java.lang.String arg0,
                     org.tmapi.core.Locator arg1)
              throws org.tmapi.core.ModelConstraintException

Specified by:
setValue in interface org.tmapi.core.DatatypeAware
Throws:
org.tmapi.core.ModelConstraintException