Class: PropertyType

$k. PropertyType

new $k.PropertyType()

Represents a type of properties

Extends

Methods

allowsMultipleOccurrences() : boolean

Returns true if multiple occurrences per semantic element are possible

Returns:
Type Description
boolean

definedDomains() : Array.<$k.Domain>

Returns the defined domains of the property.

Returns:
Type Description
Array.<$k.Domain>

domains() : Array.<$k.Domain>

Returns the effective domains of the property.


  • If the property is defined as mixin, extended domains are substituted by all possible extensions.

  • Domains that are sub-domains of other domains are discarded.

  • If the domain is a relation, and symmetric properties are enabled, all possible inverse relations are also included.

Returns:
Type Description
Array.<$k.Domain>

Intherited methods

addSupertype(type), allSubtypes(), allSupertypes(), attribute(type), attributes(type), attributeValue(type, language), attributeValueString(type, language), callBehaviour(method, args), canCreateExtensions(), canCreateInstances(), changeLog(), core(), createAttribute(type, value, language), createAttributeFromString(type, valueString, language), createRelation(type, target, inverse), domain(), element(), ensureAttributeValue(type, value, language), ensureRelationTarget(type, target, inverse), estimatedNumberOfInstances(), getCounter(), hasPossibleAttribute(type), hasPossibleRelation(type), icon(size, language), idNumber(), idString(), increaseCounter(), inheritedAttribute(type), inheritedAttributeValue(type, language), internalName(), isAbstract(), isKindOf(type), locatorString(locatorTypes), modificationNumber(), name(language), numberOfInstances(), possibleProperties(filter), primaryCore(), properties(filter), relation(type), relations(type), relationTarget(type), relationTargets(type), remove(), removeSupertype(), render(context, keyFilter, detailFilter), renderJSON(context, excludedKeys, detailFilter), renderTemplate(template, entity, conversion, variables), setAttributeFromString(type, valueString, language), setAttributeValue(type, value, language), setCanCreateExtensions(canCreate), setCanCreateInstances(canCreate), setCounter(counterValue), setInternalName(name), setName(name, language), setRelationTarget(type, target, inverse), subtypes(), supertypes(), type(), typeDomain(), updateMapping()