PropertyBlueprint source

Properties

cardinality :Property source

Cardinality of the property blueprint.

The Cardinality of an property blueprint is the number of values that can be stored. A cardinality of one means that only one object can be stored. Only positive values are legal. A value of infinity means that any number of values can be stored.

Default Value:
  • {number} 1

collectionValueType :Property source

Default Value:
  • {string} "string"

denyDelete :Property source

Default Value:
  • {boolean} false

enumValues :Property source

List of values for enumerated value types

Default Value:
  • {Object} null

identifier :Property source

The identifier is the name of the blueprint, dot, the name of the property blueprint, and is used to make the serialization of property blueprints more readable.

Default Value:
  • {string} this.name

isAssociationBlueprint :Property source

Default Value:
  • {boolean} false

isDerived :Property source

Default Value:
  • {boolean} false

isToMany :Property source

Returns true if the cardinality is more than one.

Default Value:
  • {boolean} false

mandatory :Property source

Default Value:
  • {boolean} false

owner source

Component description attached to this property blueprint.

readOnly :Property source

Default Value:
  • {boolean} false

valueObjectModuleId :Property source

Default Value:
  • {Object} null

valueObjectPrototypeName :Property source

Default Value:
  • {Object} null

valueType :Property source

Default Value:
  • {string} "string"

Methods

initWithNameBlueprintAndCardinality(name, blueprint, cardinality) source

Initialize a newly allocated property blueprint.

Parameters:
Name Type Description
name string

name of the property blueprint to create

blueprint Blueprint
cardinality number

name of the property blueprint to create

Returns:

itself

name() → {string} source

Name of the object. The name is used to define the property on the object.

Returns: string

this._name

Generated from a4679af

comments powered by Disqus

More help?

Can't find what you are looking for? Get in touch, we're more than happy in helping answer your questions.