public final class UmlgPropertyOperations
extends org.eclipse.uml2.uml.internal.operations.PropertyOperations
org.eclipse.uml2.uml.util.UMLUtil.Ecore2UMLConverter, org.eclipse.uml2.uml.util.UMLUtil.PackageMerger, org.eclipse.uml2.uml.util.UMLUtil.Profile2EPackageConverter, org.eclipse.uml2.uml.util.UMLUtil.ProfileApplicationHelper, org.eclipse.uml2.uml.util.UMLUtil.QualifiedTextProvider, org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper, org.eclipse.uml2.uml.util.UMLUtil.TemplateExpander, org.eclipse.uml2.uml.util.UMLUtil.UML2EcoreConverterorg.eclipse.uml2.common.util.UML2Util.Converter, org.eclipse.uml2.common.util.UML2Util.EClassMatcher, org.eclipse.uml2.common.util.UML2Util.EObjectMatcher, org.eclipse.uml2.common.util.UML2Util.EStructuralFeatureMatcherLABEL_KEY_PREFIXANNOTATION__DUPLICATES, ANNOTATION__REDEFINES, ANNOTATION__SUBSETS, ANNOTATION__UNION, ANNOTATION_DETAIL__BODY, ANNOTATION_DETAIL__DERIVATION, ANNOTATION_DETAIL__INITIAL, ANNOTATION_DETAIL__URI, EMF_GEN_MODEL_PACKAGE_NS_URI, ENUMERATION__CONTENT_KIND, ENUMERATION__FEATURE_KIND, ENUMERATION__VISIBILITY_KIND, ENUMERATION_LITERAL__ATTRIBUTE, ENUMERATION_LITERAL__ATTRIBUTE_WILDCARD, ENUMERATION_LITERAL__ELEMENT, ENUMERATION_LITERAL__ELEMENT_ONLY, ENUMERATION_LITERAL__ELEMENT_WILDCARD, ENUMERATION_LITERAL__EMPTY, ENUMERATION_LITERAL__GROUP, ENUMERATION_LITERAL__MIXED, ENUMERATION_LITERAL__NONE, ENUMERATION_LITERAL__READ_ONLY, ENUMERATION_LITERAL__READ_ONLY_UNSETTABLE, ENUMERATION_LITERAL__READ_WRITE, ENUMERATION_LITERAL__READ_WRITE_UNSETTABLE, ENUMERATION_LITERAL__SIMPLE, ENUMERATION_LITERAL__UNSPECIFIED, LANGUAGE__JAVA, LANGUAGE__OCL, OPTION__DISCARD, OPTION__IGNORE, OPTION__PROCESS, OPTION__REPORT, PROFILE__ECORE, STEREOTYPE__E_ATTRIBUTE, STEREOTYPE__E_CLASS, STEREOTYPE__E_DATA_TYPE, STEREOTYPE__E_ENUM, STEREOTYPE__E_ENUM_LITERAL, STEREOTYPE__E_GENERIC_TYPE, STEREOTYPE__E_OPERATION, STEREOTYPE__E_PACKAGE, STEREOTYPE__E_PARAMETER, STEREOTYPE__E_REFERENCE, STEREOTYPE__E_TYPE_PARAMETER, TAG_DEFINITION__ANNOTATIONS, TAG_DEFINITION__ATTRIBUTE_NAME, TAG_DEFINITION__BASE_PACKAGE, TAG_DEFINITION__BOUNDS, TAG_DEFINITION__CLASS_NAME, TAG_DEFINITION__DATA_TYPE_NAME, TAG_DEFINITION__ENUM_LITERAL_NAME, TAG_DEFINITION__ENUM_NAME, TAG_DEFINITION__INSTANCE_CLASS_NAME, TAG_DEFINITION__IS_ID, TAG_DEFINITION__IS_RESOLVE_PROXIES, TAG_DEFINITION__IS_TRANSIENT, TAG_DEFINITION__IS_UNSETTABLE, TAG_DEFINITION__IS_VOLATILE, TAG_DEFINITION__KEYS, TAG_DEFINITION__LITERAL, TAG_DEFINITION__LOWER_BOUND, TAG_DEFINITION__NS_PREFIX, TAG_DEFINITION__NS_URI, TAG_DEFINITION__OPERATION_NAME, TAG_DEFINITION__PACKAGE_NAME, TAG_DEFINITION__PARAMETER_NAME, TAG_DEFINITION__PREFIX, TAG_DEFINITION__REFERENCE_NAME, TAG_DEFINITION__UPPER_BOUND, TAG_DEFINITION__VISIBILITY, TAG_DEFINITION__XML_CONTENT_KIND, TAG_DEFINITION__XML_FEATURE_KIND, TAG_DEFINITION__XML_NAME, TAG_DEFINITION__XML_NAMESPACE, UML2_GEN_MODEL_PACKAGE_1_1_NS_URI, UML2_GEN_MODEL_PACKAGE_NS_URI, UML2_TYPES_PACKAGE_4_0_NS_URI, UML2_UML_PACKAGE_2_0_NS_URI, UML2_UML_PACKAGE_2_0_NS_URI_COMPATIBILITY, UML2_UML_PACKAGE_4_0_NS_URI, UML2_UML_PACKAGE_4_1_NS_URI| Constructor and Description |
|---|
UmlgPropertyOperations() |
| Modifier and Type | Method and Description |
|---|---|
static String |
adder(org.eclipse.uml2.uml.Property property) |
static String |
checkConstraint(org.eclipse.uml2.uml.Property property,
org.eclipse.uml2.uml.Constraint constraint) |
static String |
clearer(org.eclipse.uml2.uml.Property property) |
static String |
fieldName(org.eclipse.uml2.uml.Property p) |
static String |
finder(org.eclipse.uml2.uml.Property property) |
static List<org.eclipse.uml2.uml.Constraint> |
getConstraints(org.eclipse.uml2.uml.Property p) |
static OJPathName |
getDefaultTinkerCollection(org.eclipse.uml2.uml.Property p) |
static OJPathName |
getDefaultTinkerCollection(org.eclipse.uml2.uml.Property p,
boolean ignoreAssociationClass) |
static OJPathName |
getDefaultTinkerCollectionForAssociationClass(org.eclipse.uml2.uml.Property p) |
static OJSimpleStatement |
getDefaultTinkerCollectionInitalisation(org.eclipse.uml2.uml.Property p,
org.eclipse.uml2.uml.BehavioredClassifier propertyConcreteOwner) |
static org.eclipse.uml2.uml.Type |
getOwningType(org.eclipse.uml2.uml.Property p) |
static String |
getter(org.eclipse.uml2.uml.Property property) |
static OJPathName |
getTypePath(org.eclipse.uml2.uml.Property p) |
static String |
internalAdder(org.eclipse.uml2.uml.Property property) |
static String |
internalGetter(org.eclipse.uml2.uml.Property property) |
static String |
internalRemover(org.eclipse.uml2.uml.Property property) |
static String |
internalSetter(org.eclipse.uml2.uml.Property property) |
static boolean |
isControllingSide(org.eclipse.uml2.uml.Property p) |
static boolean |
isEnumeration(org.eclipse.uml2.uml.Property property) |
static boolean |
isMany(org.eclipse.uml2.uml.Property property) |
static boolean |
isManyToMany(org.eclipse.uml2.uml.Property p) |
static boolean |
isManyToOne(org.eclipse.uml2.uml.Property p) |
static boolean |
isOne(org.eclipse.uml2.uml.Property property) |
static boolean |
isOneToMany(org.eclipse.uml2.uml.Property p) |
static boolean |
isOneToOne(org.eclipse.uml2.uml.Property p) |
static boolean |
isPrimitive(org.eclipse.uml2.uml.Property property) |
static boolean |
isQualifier(org.eclipse.uml2.uml.Property p) |
static boolean |
isUnqualifiedMany(org.eclipse.uml2.uml.Property property) |
static boolean |
isUnqualifiedOne(org.eclipse.uml2.uml.Property property) |
protected static boolean |
otherEndIsOne(org.eclipse.uml2.uml.Property p) |
static String |
remover(org.eclipse.uml2.uml.Property property) |
static String |
setter(org.eclipse.uml2.uml.Property property) |
static String |
umlPrimitiveTypeToJava(org.eclipse.uml2.uml.Type type) |
static boolean |
validateRedefinedPropertyInherited(org.eclipse.uml2.uml.Property property,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
A redefined property must be inherited from a more general classifier containing the redefining property.
|
static String |
validator(org.eclipse.uml2.uml.Property property) |
getDefault, getOpposite, getOtherEnd, isAttribute, isCompatibleWith, isComposite, isConsistentWith, isNavigable, isSetDefault, setBooleanDefaultValue, setDefault, setIntegerDefaultValue, setIsComposite, setIsNavigable, setNullDefaultValue, setOpposite, setRealDefaultValue, setStringDefaultValue, setUnlimitedNaturalDefaultValue, subsettingContext, unsetDefault, validateBindingToAttribute, validateDeploymentTarget, validateDerivedUnionIsDerived, validateDerivedUnionIsReadOnly, validateMultiplicityOfComposite, validateQualifiedIsAssociationEnd, validateSubsettedPropertyNames, validateSubsettingContextConforms, validateSubsettingRules, validateTypeOfOppositeEndexcludeRedefinedElements, getAllRedefinedElements, getAllRedefinedElements, isConsistentWith, isRedefinitionContextValid, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValidallNamespaces, allNamespaces, allOwningPackages, createDependency, createDependency, createUsage, getClientDependencies, getLabel, getLabel, getNamespace, getQualifiedName, isDistinguishableFrom, separator, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnershipaddKeyword, allOwnedElements, allOwnedElements, applyAllRequiredStereotypes, applyAllRequiredStereotypes, applyAllStereotypes, applyAllStereotypes, applyStereotype, createEAnnotation, destroy, destroy, destroyAll, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getDefinition, getDefinition, getExtension, getKeywords, getModel, getNearestPackage, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyAllNonApplicableStereotypes, unapplyAllNonApplicableStereotypes, unapplyAllNonApplicableStereotypes, unapplyStereotype, validateHasOwner, validateNotOwnSelfapplyStereotype, convertFromEcore, convertFromEcore, convertToEcore, convertToEcore, convertToEcore, convertToEcore, expand, expand, findNamedElements, findNamedElements, findNamedElements, findNamedElements, findNamedElements, findNamedElements, findNamedElements, findValidRedefinitions, findValidRedefinitions, findValidSubsets, findValidSubsets, getBaseElement, getBaseElement, getEClassifier, getEClassifier, getEcoreName, getEPackage, getETypeParameters, getNamedElement, getNamedElement, getNearestBaseElement, getOCLBody, getOwnedAttributes, getOwnedOperations, getOwningElement, getProfile, getProfile, getQualifiedName, getQualifiedText, getRedefinedFeatures, getStereotype, getStereotype, getStereotype, getStereotypeApplication, getTagDefinition, getTaggedValue, init, isBoolean, isInteger, isReal, isRedefinitionValid, isString, isSubsetValid, isUnlimitedNatural, merge, merge, safeApplyStereotype, setBaseElement, setTaggedValueaddConstraint, addDocumentation, addDocumentation, addInvocationDelegate, addSettingDelegate, addValidationDelegate, createEAnnotation, destroyAll, findENamedElements, findENamedElements, findEObject, findEObject, getAllContents, getCommonEType, getContainingEObject, getEAnnotation, getGreaterUpperBound, getInstanceCount, getInverseReferences, getLesserLowerBound, getMessageSubstitution, getMessageSubstitutions, getMessageSubstitutions, getMessageSubstitutions, getNonNavigableInverseReferences, getQualifiedName, getQualifiedText, getQualifiedText, getQualifiedTextSegment, getResourceBundle, getResourceBundle, getResourceBundleURIs, getResourceBundleURIs, getResourceSet, getRootContainers, getString, getValidJavaIdentifier, getValidJavaIdentifier, getValidNCName, getValidNCName, getXMIIdentifier, getXMIIdentifier, intersect, isEmpty, isNCNamePart, isNCNameStart, load, loadClassFromSystemProperty, removeReferences, safeEqualspublic static List<org.eclipse.uml2.uml.Constraint> getConstraints(org.eclipse.uml2.uml.Property p)
public static org.eclipse.uml2.uml.Type getOwningType(org.eclipse.uml2.uml.Property p)
public static boolean isUnqualifiedOne(org.eclipse.uml2.uml.Property property)
public static boolean isUnqualifiedMany(org.eclipse.uml2.uml.Property property)
public static boolean isOne(org.eclipse.uml2.uml.Property property)
public static boolean isQualifier(org.eclipse.uml2.uml.Property p)
public static String fieldName(org.eclipse.uml2.uml.Property p)
public static boolean isPrimitive(org.eclipse.uml2.uml.Property property)
public static boolean isEnumeration(org.eclipse.uml2.uml.Property property)
public static boolean isControllingSide(org.eclipse.uml2.uml.Property p)
public static boolean isOneToMany(org.eclipse.uml2.uml.Property p)
public static boolean isManyToMany(org.eclipse.uml2.uml.Property p)
public static boolean isManyToOne(org.eclipse.uml2.uml.Property p)
public static boolean isMany(org.eclipse.uml2.uml.Property property)
public static boolean isOneToOne(org.eclipse.uml2.uml.Property p)
protected static boolean otherEndIsOne(org.eclipse.uml2.uml.Property p)
public static OJPathName getDefaultTinkerCollection(org.eclipse.uml2.uml.Property p)
public static OJPathName getDefaultTinkerCollection(org.eclipse.uml2.uml.Property p, boolean ignoreAssociationClass)
public static OJPathName getDefaultTinkerCollectionForAssociationClass(org.eclipse.uml2.uml.Property p)
public static OJSimpleStatement getDefaultTinkerCollectionInitalisation(org.eclipse.uml2.uml.Property p, org.eclipse.uml2.uml.BehavioredClassifier propertyConcreteOwner)
public static OJPathName getTypePath(org.eclipse.uml2.uml.Property p)
public static String umlPrimitiveTypeToJava(org.eclipse.uml2.uml.Type type)
public static String finder(org.eclipse.uml2.uml.Property property)
public static String getter(org.eclipse.uml2.uml.Property property)
public static String internalGetter(org.eclipse.uml2.uml.Property property)
public static String setter(org.eclipse.uml2.uml.Property property)
public static String internalSetter(org.eclipse.uml2.uml.Property property)
public static String validator(org.eclipse.uml2.uml.Property property)
public static String checkConstraint(org.eclipse.uml2.uml.Property property, org.eclipse.uml2.uml.Constraint constraint)
public static String adder(org.eclipse.uml2.uml.Property property)
public static String remover(org.eclipse.uml2.uml.Property property)
public static String clearer(org.eclipse.uml2.uml.Property property)
public static String internalAdder(org.eclipse.uml2.uml.Property property)
public static String internalRemover(org.eclipse.uml2.uml.Property property)
public static boolean validateRedefinedPropertyInherited(org.eclipse.uml2.uml.Property property,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
property - The receiving 'Property' model object.diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
Copyright © 2017. All rights reserved.