Package org.eclipse.esmf.constraint
Interface LanguageConstraint
- All Superinterfaces:
Constraint,ModelElement,NamedElement
- All Known Implementing Classes:
DefaultLanguageConstraint
Restricts a value to a specific language.
- Since:
- SAMM 1.0.0
-
Method Summary
Methods inherited from interface org.eclipse.esmf.metamodel.ModelElement
accept, as, getMetaModelVersion, isMethods inherited from interface org.eclipse.esmf.metamodel.NamedElement
getAspectModelUrn, getDescription, getDescriptions, getName, getPreferredName, getPreferredNames, getSee, hasSyntheticName
-
Method Details
-
getLanguageCode
Locale getLanguageCode()- Returns:
- an ISO 639-1 language code for the language of the value of the constrained Property.
-