Property

overflowdb.schema.Property
See theProperty companion object
class Property[A](val name: String, val valueType: ValueType[A], val comment: Option[String], val schemaInfo: SchemaInfo) extends HasClassName with HasOptionalProtoId with HasSchemaInfo

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def asList(): Property[A]

make this a list property, using a regular Sequence, with linear (slow) random access

make this a list property, using a regular Sequence, with linear (slow) random access

Attributes

def default: Option[Default[A]]
def hasDefault: Boolean
def isMandatory: Boolean
def mandatory(default: A): Property[A]

make this a mandatory property, which allows us to use primitives (better memory footprint, no GC, ...)

make this a mandatory property, which allows us to use primitives (better memory footprint, no GC, ...)

Attributes

Inherited methods

def className: String

Attributes

Inherited from:
HasClassName
def protoId: Option[Int]

Attributes

Inherited from:
HasOptionalProtoId
def protoId(id: Int): HasOptionalProtoId.this.type

Attributes

Inherited from:
HasOptionalProtoId

Concrete fields

val comment: Option[String]
val name: String

Inherited fields

protected var _protoId: Option[Int]

Attributes

Inherited from:
HasOptionalProtoId