Property

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

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait HasClassName
class Object
trait Matchable
class Any
Show all

Members list

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 productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def protoId: Option[Int]

Attributes

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

Attributes

Inherited from:
HasOptionalProtoId

Inherited fields

protected var _protoId: Option[Int]

Attributes

Inherited from:
HasOptionalProtoId