org.dbpedia.extraction.ontology.datatypes

UnitDatatype

abstract class UnitDatatype extends Datatype

Represents a unit.

Linear Supertypes
Datatype, OntologyType, OntologyEntity, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UnitDatatype
  2. Datatype
  3. OntologyType
  4. OntologyEntity
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UnitDatatype(name: String, unitLabels: Set[String])

    name

    The name of this unit e.g. metre

    unitLabels

    A set of common labels for this unit e.g. Set(m, metre...)

Abstract Value Members

  1. abstract def fromStandardUnit(value: Double): Double

    Converts a value from the standard unit for the dimension to this unit.

    Converts a value from the standard unit for the dimension to this unit.

    value

    value in standard unit

    returns

    equivalent value in this unit

  2. abstract def toStandardUnit(value: Double): Double

    Converts a value from this unit to the standard unit for the dimension.

    Converts a value from this unit to the standard unit for the dimension.

    value

    value in this unit.

    returns

    equivalent value in standard unit

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val comments: Map[Language, String]

    Comments describing this entity.

    Comments describing this entity. Map: LanguageCode -> Comment

    Definition Classes
    OntologyEntity
  7. def dimension: DimensionDatatype

    The dimension of this unit

  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(other: Any): Boolean

    Definition Classes
    OntologyEntity → AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    OntologyEntity → AnyRef → Any
  13. val isExternalProperty: Boolean

    Definition Classes
    Datatype
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. val labels: Map[Language, String]

    The labels of this entity.

    The labels of this entity. Map: LanguageCode -> Label

    Definition Classes
    OntologyEntity
  16. val name: String

    The name of this entity

    The name of this entity

    Definition Classes
    OntologyEntity
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    OntologyEntity → AnyRef → Any
  22. val unitLabels: Set[String]

    A set of common labels for this unit e.g.

    A set of common labels for this unit e.g. Set(m, metre...)

  23. val uri: String

    The URI of this datatype

    The URI of this datatype

    Definition Classes
    DatatypeOntologyEntity
  24. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Datatype

Inherited from OntologyType

Inherited from OntologyEntity

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped