Class MetaModelBaseAttributes
java.lang.Object
org.eclipse.esmf.metamodel.loader.MetaModelBaseAttributes
Wrapper class for the attributes all Aspect Meta Model elements have.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMetaModelBaseAttributes(org.eclipse.esmf.samm.KnownVersion metaModelVersion, org.eclipse.esmf.aspectmodel.urn.AspectModelUrn urn, String name, Set<LangString> preferredNames, Set<LangString> descriptions, List<String> see) MetaModelBaseAttributes(org.eclipse.esmf.samm.KnownVersion metaModelVersion, org.eclipse.esmf.aspectmodel.urn.AspectModelUrn urn, String name, Set<LangString> preferredNames, Set<LangString> descriptions, List<String> see, boolean hasSyntheticName) -
Method Summary
Modifier and TypeMethodDescriptionbuilderFor(String name) Creates a builder forMetaModelBaseAttributesfor the given meta model element name.static MetaModelBaseAttributesfrom(org.eclipse.esmf.samm.KnownVersion metaModelVersion, org.eclipse.esmf.aspectmodel.urn.AspectModelUrn urn, String name) Creates an instance ofMetaModelBaseAttributesfrom a meta model version, an URN and a name.static MetaModelBaseAttributesfrom(org.eclipse.esmf.samm.KnownVersion metaModelVersion, org.eclipse.esmf.aspectmodel.urn.AspectModelUrn urn, String name, String preferredName) Creates an instance ofMetaModelBaseAttributesfrom a meta model version, an URN, a name and a preferredName forLocale.ENGLISH.static MetaModelBaseAttributesfromModelElement(org.eclipse.esmf.samm.KnownVersion metaModelVersion, org.apache.jena.rdf.model.Resource modelElement, org.apache.jena.rdf.model.Model model, SAMM samm) Creates an instance ofMetaModelBaseAttributesfor a specific Meta Model element.org.eclipse.esmf.samm.KnownVersiongetName()getSee()Optional<org.eclipse.esmf.aspectmodel.urn.AspectModelUrn>getUrn()boolean
-
Constructor Details
-
MetaModelBaseAttributes
public MetaModelBaseAttributes(org.eclipse.esmf.samm.KnownVersion metaModelVersion, org.eclipse.esmf.aspectmodel.urn.AspectModelUrn urn, String name, Set<LangString> preferredNames, Set<LangString> descriptions, List<String> see) -
MetaModelBaseAttributes
public MetaModelBaseAttributes(org.eclipse.esmf.samm.KnownVersion metaModelVersion, org.eclipse.esmf.aspectmodel.urn.AspectModelUrn urn, String name, Set<LangString> preferredNames, Set<LangString> descriptions, List<String> see, boolean hasSyntheticName)
-
-
Method Details
-
getMetaModelVersion
public org.eclipse.esmf.samm.KnownVersion getMetaModelVersion() -
getUrn
-
getName
-
getPreferredNames
-
getDescriptions
-
getSee
-
hasSyntheticName
public boolean hasSyntheticName() -
builderFor
Creates a builder forMetaModelBaseAttributesfor the given meta model element name.- Parameters:
name- the meta model element name- Returns:
- the builder instance
-
from
public static MetaModelBaseAttributes from(org.eclipse.esmf.samm.KnownVersion metaModelVersion, org.eclipse.esmf.aspectmodel.urn.AspectModelUrn urn, String name) Creates an instance ofMetaModelBaseAttributesfrom a meta model version, an URN and a name.- Parameters:
metaModelVersion- the used meta model versionurn- the meta model element URNname- the meta model element name- Returns:
- the newly created instance
-
from
public static MetaModelBaseAttributes from(org.eclipse.esmf.samm.KnownVersion metaModelVersion, org.eclipse.esmf.aspectmodel.urn.AspectModelUrn urn, String name, String preferredName) Creates an instance ofMetaModelBaseAttributesfrom a meta model version, an URN, a name and a preferredName forLocale.ENGLISH.- Parameters:
metaModelVersion- the used meta model versionurn- the meta model element URNname- the meta model element name- Returns:
- the newly created instance
-
fromModelElement
public static MetaModelBaseAttributes fromModelElement(org.eclipse.esmf.samm.KnownVersion metaModelVersion, org.apache.jena.rdf.model.Resource modelElement, org.apache.jena.rdf.model.Model model, SAMM samm) Creates an instance ofMetaModelBaseAttributesfor a specific Meta Model element.- Parameters:
metaModelVersion- the used meta model versionmodelElement- the Aspect model element to be processed.model- the RDFModelrepresenting the entire Aspect Meta Model.samm- the Aspect Meta Model vocabulary- Returns:
- the newly created instance
-