class Property[A] extends HasClassName with HasOptionalProtoId with HasSchemaInfo
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Property
- HasSchemaInfo
- HasOptionalProtoId
- HasClassName
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Property(name: String, valueType: ValueType[A], comment: Option[String] = None, schemaInfo: SchemaInfo)
Value Members
-
def
asList(): Property[A]
make this a list property, using a regular Sequence, with linear (slow) random access
- def cardinality: Cardinality
-
lazy val
className: String
- Definition Classes
- HasClassName
- val comment: Option[String]
- 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, ...)
-
val
name: String
- Definition Classes
- Property → HasClassName
-
def
protoId: Option[Int]
- Definition Classes
- HasOptionalProtoId
-
def
protoId(id: Int): Property.this.type
- Definition Classes
- HasOptionalProtoId
-
val
schemaInfo: SchemaInfo
- Definition Classes
- Property → HasSchemaInfo
- val valueType: ValueType[A]