Package io.lionweb.language
Class StructuredDataType
java.lang.Object
- All Implemented Interfaces:
IKeyed<StructuredDataType>,INamed,NamespacedEntity,NamespaceProvider,ClassifierInstance<Concept>,HasFeatureValues,HasSettableParent,Node
Represents a collection of named instances of Data Types. They are meant to support a small
composite of values that semantically form a unit. Instances of StructuredDataTypes have no
identity, are always copied by value, and SHOULD be immutable. Two instances of a
StructuredDataType that hold the same values for all fields of that StructuredDataType are
interchangeable. This is different from the instances of Classifiers which have an identity,
through their id.
-
Field Summary
Fields inherited from class io.lionweb.model.impl.AbstractClassifierInstance
annotations -
Constructor Summary
ConstructorsConstructorDescriptionStructuredDataType(Language language, String name) StructuredDataType(Language language, String name, String id) StructuredDataType(Language language, String name, String id, String key) -
Method Summary
Modifier and TypeMethodDescriptionThe concept of which this Node is an instance.getFieldByName(String fieldName) Methods inherited from class io.lionweb.language.LanguageEntity
getContainer, getKey, getLanguage, getName, setKey, setName, toStringMethods inherited from class io.lionweb.model.impl.M3Node
addChild, addContainmentMultipleValue, addReferenceMultipleValue, addReferenceValue, equals, getChildren, getContainmentMultipleValue, getContainmentSingleValue, getID, getLionWebVersion, getParent, getPropertyValue, getPropertyValue, getPropertyValue, getReferenceMultipleValue, getReferenceSingleValue, getReferenceValues, hashCode, removeChild, setID, setParent, setPropertyValue, setPropertyValue, setReferenceSingleValue, setReferenceValuesMethods inherited from class io.lionweb.model.impl.AbstractClassifierInstance
addAnnotation, getAnnotations, getAnnotations, removeAnnotation, removeChild, removeReferenceValue, removeReferenceValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.lionweb.model.ClassifierInstance
addAnnotation, getAnnotations, getAnnotations, removeAnnotationMethods inherited from interface io.lionweb.model.HasFeatureValues
removeChild, removeReferenceValue, removeReferenceValueMethods inherited from interface io.lionweb.language.NamespacedEntity
qualifiedNameMethods inherited from interface io.lionweb.model.Node
getContainmentFeature, getRoot, isRoot, thisAndAllDescendants
-
Constructor Details
-
StructuredDataType
public StructuredDataType() -
StructuredDataType
-
StructuredDataType
-
StructuredDataType
-
StructuredDataType
-
-
Method Details
-
addField
-
getFields
-
namespaceQualifier
- Specified by:
namespaceQualifierin interfaceNamespaceProvider
-
getClassifier
Description copied from interface:NodeThe concept of which this Node is an instance. The Concept should not be abstract.- Specified by:
getClassifierin interfaceClassifierInstance<Concept>- Specified by:
getClassifierin interfaceNode
-
getFieldByName
-