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, toString
Methods 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, setReferenceValues
Methods inherited from class io.lionweb.model.impl.AbstractClassifierInstance
addAnnotation, getAnnotations, getAnnotations, removeAnnotation, removeChild, removeReferenceValue, removeReferenceValue
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.lionweb.model.ClassifierInstance
addAnnotation, getAnnotations, getAnnotations, removeAnnotation
Methods inherited from interface io.lionweb.model.HasFeatureValues
removeChild, removeReferenceValue, removeReferenceValue
Methods inherited from interface io.lionweb.language.NamespacedEntity
qualifiedName
Methods 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:
namespaceQualifier
in interfaceNamespaceProvider
-
getClassifier
Description copied from interface:Node
The concept of which this Node is an instance. The Concept should not be abstract.- Specified by:
getClassifier
in interfaceClassifierInstance<Concept>
- Specified by:
getClassifier
in interfaceNode
-
getFieldByName
-