Property

class Property[A](val name: String, val valueType: ValueType[A], val comment: Option[String], val schemaInfo: SchemaInfo) extends HasClassName with HasOptionalProtoId with HasSchemaInfo
Companion:
object
class Object
trait Matchable
class Any

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

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, ...)

Inherited methods

def protoId: Option[Int]
Inherited from:
HasOptionalProtoId
def protoId(id: Int): Property[A]
Inherited from:
HasOptionalProtoId

Concrete fields

val comment: Option[String]
val name: String

Inherited fields

protected var _protoId: Option[Int]
Inherited from:
HasOptionalProtoId
lazy val className: String
Inherited from:
HasClassName