de.topicmapslab.majortom.core
Class OccurrenceImpl

java.lang.Object
  extended by de.topicmapslab.majortom.core.ConstructImpl
      extended by de.topicmapslab.majortom.core.ReifiableImpl
          extended by de.topicmapslab.majortom.core.ScopeableImpl
              extended by de.topicmapslab.majortom.core.DataTypeAwareImpl
                  extended by de.topicmapslab.majortom.core.OccurrenceImpl
All Implemented Interfaces:
de.topicmapslab.majortom.model.core.ICharacteristics, de.topicmapslab.majortom.model.core.IConstruct, de.topicmapslab.majortom.model.core.IDatatypeAware, de.topicmapslab.majortom.model.core.IOccurrence, de.topicmapslab.majortom.model.core.IReifiable, de.topicmapslab.majortom.model.core.IScopable, de.topicmapslab.majortom.model.core.ITypeable, java.io.Serializable, java.lang.Comparable<de.topicmapslab.majortom.model.core.IConstruct>, org.tmapi.core.Construct, org.tmapi.core.DatatypeAware, org.tmapi.core.Occurrence, org.tmapi.core.Reifiable, org.tmapi.core.Scoped, org.tmapi.core.Typed

public class OccurrenceImpl
extends DataTypeAwareImpl
implements de.topicmapslab.majortom.model.core.IOccurrence

Base implementation of IOccurrence

Author:
Sven Krosse
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
protected OccurrenceImpl(de.topicmapslab.majortom.model.store.ITopicMapStoreIdentity identity, de.topicmapslab.majortom.model.core.ITopic parent)
          constructor
 
Method Summary
 de.topicmapslab.majortom.model.core.ITopic getParent()
          
 org.tmapi.core.Topic getType()
          
 void setType(org.tmapi.core.Topic type)
          
 java.lang.String toString()
          
 
Methods inherited from class de.topicmapslab.majortom.core.DataTypeAwareImpl
booleanValue, coordinateValue, dateTimeValue, decimalValue, doubleValue, floatValue, getDatatype, getValue, integerValue, intValue, locatorValue, longValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, surfaceValue, uriValue
 
Methods inherited from class de.topicmapslab.majortom.core.ScopeableImpl
addTheme, getScope, getScopeObject, removeTheme
 
Methods inherited from class de.topicmapslab.majortom.core.ReifiableImpl
getReifier, setReifier
 
Methods inherited from class de.topicmapslab.majortom.core.ConstructImpl
addItemIdentifier, compareTo, equals, getId, getIdentity, getItemIdentifiers, getTopicMap, hashCode, isRemoved, longId, remove, remove, removeItemIdentifier, setRemoved
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.topicmapslab.majortom.model.core.IScopable
getScopeObject, getTopicMap
 
Methods inherited from interface de.topicmapslab.majortom.model.core.IConstruct
isRemoved, longId, remove
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface de.topicmapslab.majortom.model.core.IDatatypeAware
booleanValue, coordinateValue, dateTimeValue, doubleValue, setValue, setValue, setValue, setValue, setValue, setValue, surfaceValue, uriValue
 
Methods inherited from interface org.tmapi.core.DatatypeAware
decimalValue, floatValue, getDatatype, getValue, integerValue, intValue, locatorValue, longValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue
 
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, hashCode, remove, removeItemIdentifier
 

Field Detail

serialVersionUID

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

OccurrenceImpl

protected OccurrenceImpl(de.topicmapslab.majortom.model.store.ITopicMapStoreIdentity identity,
                         de.topicmapslab.majortom.model.core.ITopic parent)
constructor

Parameters:
identity - the ITopicMapStoreIdentity
parent - the parent topic
Method Detail

getParent

public de.topicmapslab.majortom.model.core.ITopic getParent()

Specified by:
getParent in interface de.topicmapslab.majortom.model.core.IOccurrence
Specified by:
getParent in interface org.tmapi.core.Construct
Specified by:
getParent in interface org.tmapi.core.Occurrence
Overrides:
getParent in class ConstructImpl

setType

public void setType(org.tmapi.core.Topic type)

Specified by:
setType in interface org.tmapi.core.Typed

getType

public org.tmapi.core.Topic getType()

Specified by:
getType in interface org.tmapi.core.Typed

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object