Concept class

Inheritance
Implementers

Constructors

Concept(Model model, String conceptCode)

Properties

abstract bool
getter/setter pair
attributes Attributes
getter/setter pair
canAdd bool
getter/setter pair
childCodeInternalPaths List<String>
no setter
children Children
getter/setter pair
code String?
getter/setter pairinherited-getteroverride-setter
codeFirstLetterLower String
no setterinherited
codeFirstLetterUpper String
no setterinherited
codeLowerSpace String
no setterinherited
codeLowerUnderscore String
no setterinherited
codePlural String
no setterinherited
codePluralFirstLetterLower String
no setterinherited
codePluralFirstLetterUpper String
no setterinherited
codePluralFirstLetterUpperSpace String
no setterinherited
codePluralLowerUnderscore String
no setterinherited
codes String
getter/setter pair
codesFirstLetterLower String
getter/setter pair
codesLowerUnderscore String
getter/setter pair
concept Concept
getter/setter pairinherited
description String
getter/setter pair
entry bool
getter/setter pair
entryConcept Concept
no setter
entryConceptThisConceptInternalPath String?
no setter
essentialAttributes List<Attribute>
no setter
exceptions IValidationExceptions
getter/setter pairinherited
externalParents List<Parent>
no setter
externalRequiredParents List<Parent>
no setter
hasAttributeId bool
no setter
hashCode int
The hash code for this object.
no setteroverride
hasId bool
no setter
hasParentId bool
no setter
hasReflexiveChild bool
no setter
hasReflexiveParent bool
no setter
hasTwinChild bool
no setter
hasTwinParent bool
no setter
id Id
no setteroverride
identifierAttributes List<Attribute>
no setter
incrementAttributes List<Attribute>
no setter
internalChildren List<Child>
no setter
label String?
getter/setter pair
labels String?
getter/setter pair
max String
getter/setter pair
min String
getter/setter pair
model Model
getter/setter pair
nonIdentifierAttributes List<Attribute>
no setter
nonIncrementAttributes List<Attribute>
no setter
oid Oid
getter/setter pairinherited
parents Parents
getter/setter pair
post bool
getter/setter pairinherited
pre bool
getter/setter pairinherited
remove bool
getter/setter pair
requiredAttributes List<Attribute>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
singleValueProperties List<Property>
no setter
sourceChildren Children
getter/setter pair
sourceParents Parents
getter/setter pair
updateCode bool
getter/setter pair
updateOid bool
getter/setter pair
updateWhen bool
getter/setter pair
whenAdded DateTime?
Log
getter/setter pairinherited
whenRemoved DateTime?
getter/setter pairinherited
whenSet DateTime?
getter/setter pairinherited

Methods

compareAttributes(Concept entity) int
Compares two entities based on their attributes. If the result is less than 0 then the first id is less than the second, if it is equal to 0 they are equal and if the result is greater than 0 then the first is greater than the second.
inherited
compareTo(dynamic entity) int
Compares two entities based on codes, ids or attributes. If the result is less than 0 then the first entity is less than the second, if it is equal to 0 they are equal and if the result is greater than 0 then the first is greater than the second.
inherited
copy() Concept
Copies the entity (oid, code, attributes and neighbors). It is not a deep copy.
inherited
display({String prefix = '', bool withOid = true, bool withChildren = true, bool withInternalChildren = true}) → void
Displays (prints) an entity with its attributes, parents and children.
inherited
displayToString() → void
inherited
equalContent(Concept entity) bool
Checks if the entity is equal in content to the given entity. Two entities are equal if they have the same content, ignoring oid and when.
inherited
equals(Concept concept) bool
Two concepts are equal if their oids are equal.
override
fromJson<K extends Entity<K>>(String entityJson) → void
inherited
fromJsonMap(dynamic entityMap, [Entity<Entity>? internalParent]) → void
Loads data from a json map.
inherited
getAttribute<Attribute>(String attributeCode) → Attribute?
override
getChild(String? name) Object?
inherited
getDestinationChild(String childCode) Child?
getDestinationParent(String parentCode) Parent?
getInternalChild(String name) Object?
inherited
getParent(String name) Object?
inherited
getReference(String name) Reference?
inherited
getSourceChild(String childCode) Child?
getSourceParent(String parentCode) Parent?
getStringFromAttribute(String name) String
inherited
getStringOrNullFromAttribute(String name) String?
inherited
isAttributeSensitive(String attributeCode) bool
isChildSensitive(String childCode) bool
isParentSensitive(String parentCode) bool
isPropertySensitive(String propertyCode) bool
newEntities() Entities<Concept>
inherited
newEntity() Entity<Concept>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postSetAttribute(String name, Object? value) bool
inherited
preSetAttribute(String name, Object? value) bool
inherited
setAttribute(String name, Object? value) bool
inherited
setAttributesFrom(Entity<Entity> entity) bool
inherited
setChild(String name, Object entities) bool
inherited
setParent(String name, dynamic entity) bool
inherited
setReference(String name, Reference reference) → void
inherited
setStringToAttribute(String name, String string) bool
inherited
toJson() String
inherited
toJsonMap() Map<String, Object>
inherited
toString() String
Returns a string that represents this entity by using oid and code.
inherited