Packages

p

types

OdfTypes

package OdfTypes

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OdfTypes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class OdfBooleanValue(value: Boolean, timestamp: Timestamp) extends OdfValue[Boolean] with Product with Serializable
  2. case class OdfDescription(value: String, lang: Option[String] = None) extends Product with Serializable

    Class presenting O-DF description element

  3. final case class OdfDoubleValue(value: Double, timestamp: Timestamp) extends OdfValue[Double] with Product with Serializable
  4. final case class OdfFloatValue(value: Float, timestamp: Timestamp) extends OdfValue[Float] with Product with Serializable
  5. case class OdfInfoItem(path: Path, values: OdfTreeCollection[OdfValue[Any]] = OdfTreeCollection(), description: Option[OdfDescription] = None, metaData: Option[OdfMetaData] = None, typeValue: Option[String] = None, attributes: Map[String, String] = HashMap.empty) extends OdfInfoItemImpl with OdfNode with Product with Serializable

    Class presenting O-DF InfoItem structure

  6. class OdfInfoItemImpl extends Serializable

    Class implementing OdfInfoItem.

  7. final case class OdfIntValue(value: Int, timestamp: Timestamp) extends OdfValue[Int] with Product with Serializable
  8. final case class OdfLongValue(value: Long, timestamp: Timestamp) extends OdfValue[Long] with Product with Serializable
  9. case class OdfMetaData(infoItems: OdfTreeCollection[OdfInfoItem]) extends Product with Serializable

    Class presenting MetaData structure of O-DF format.

  10. sealed trait OdfNode extends AnyRef

    Sealed base trait defining all shared members of OdfNodes

  11. case class OdfObject(id: OdfTreeCollection[OdfQlmID], path: Path, infoItems: OdfTreeCollection[OdfInfoItem] = OdfTreeCollection(), objects: OdfTreeCollection[OdfObject] = OdfTreeCollection(), description: Option[OdfDescription] = None, typeValue: Option[String] = None, attributes: Map[String, String] = HashMap.empty) extends OdfObjectImpl with OdfNode with Serializable with Product

    Class presenting O-DF Object structure

  12. class OdfObjectImpl extends Serializable

    Class implementing OdfObject.

  13. case class OdfObjects(objects: OdfTreeCollection[OdfObject] = OdfTreeCollection(), version: Option[String] = None, attributes: Map[String, String] = HashMap.empty) extends OdfObjectsImpl with OdfNode with Product with Serializable

    Class presenting O-DF Objects structure

  14. class OdfObjectsImpl extends Serializable

    Class implementing OdfObjects.

  15. final case class OdfObjectsValue(value: OdfObjects, timestamp: Timestamp, attributes: HashMap[String, String] = HashMap.empty) extends OdfValue[OdfObjects] with Product with Serializable
  16. type OdfParseResult = Either[Iterable[_ <: ParseError], OdfObjects]
  17. case class OdfQlmID(value: String, idType: Option[String] = None, tagType: Option[String] = None, startDate: Option[Timestamp] = None, endDate: Option[Timestamp] = None, attributes: HashMap[String, String] = HashMap()) extends Product with Serializable
  18. final case class OdfShortValue(value: Short, timestamp: Timestamp) extends OdfValue[Short] with Product with Serializable
  19. final case class OdfStringPresentedValue(value: String, timestamp: Timestamp, typeValue: String = "xs:string") extends OdfValue[String] with Product with Serializable
  20. type OdfTreeCollection[T] = Vector[T]

    Collection type to be used as all children members in odf tree types

  21. sealed trait OdfValue[+T] extends AnyRef

    Class presenting Value tag of O-DF format.

  22. trait SerializableAttribute[A] extends AnyRef

Value Members

  1. def attributesToDataRecord(attributes: Map[String, String]): Map[String, DataRecord[Any]]
  2. def createAncestors(last: OdfNode): OdfObjects

    Generates odf tree containing the ancestors of given object up to the root Objects level.

    Generates odf tree containing the ancestors of given object up to the root Objects level.

    Annotations
    @tailrec()
  3. def getInfoItems(nodes: OdfNode*): Vector[OdfInfoItem]
  4. def getInfoItems(_object: OdfObject): Vector[OdfInfoItem]
  5. def getInfoItems(objects: OdfObjects): OdfTreeCollection[OdfInfoItem]

    Helper method for getting all OdfInfoItems found in OdfObjects

  6. def getLeafs(objects: OdfObjects): OdfTreeCollection[OdfNode]
  7. def getLeafs(obj: OdfObject): OdfTreeCollection[OdfNode]

    Helper method for getting all leaf nodes of O-DF Structure

  8. def getOdfNodes(hasPaths: OdfNode*): Seq[OdfNode]

    Helper method for getting all OdfNodes found in given OdfNodes.

    Helper method for getting all OdfNodes found in given OdfNodes. Basically get list of all nodes in tree.

  9. def getParent(child: OdfNode): OdfNode

    Method for generating parent OdfNode of this instance

  10. def getPathValuePairs(objs: OdfObjects): OdfTreeCollection[(Path, OdfValue[Any])]
  11. def timestampToXML(timestamp: Timestamp): XMLGregorianCalendar
  12. def unionOption[T](a: Option[T], b: Option[T])(f: (T, T) ⇒ T): Option[T]
  13. object OdfQlmID extends Serializable
  14. object OdfTreeCollection
  15. object OdfValue

Inherited from AnyRef

Inherited from Any

Ungrouped