/** * <p> * The type of the enumeration's literals. * </p> * @see EnumerationFacade#getLiteralType() */ public ClassifierFacade getLiteralType() { return this.getSuperEnumerationFacade().getLiteralType(); }
/** * <p> * The fully qualified name of this model element. * </p> * @see ModelElementFacade#getFullyQualifiedName() */ public String getFullyQualifiedName() { return this.getSuperEnumerationFacade().getFullyQualifiedName(); }
/** * <p> * This enumeration's literals. * </p> * @see EnumerationFacade#getLiterals() */ public Collection<AttributeFacade> getLiterals() { return this.getSuperEnumerationFacade().getLiterals(); }
Collection<AttributeFacade> literals = enumer.getLiterals(); if (StringUtils.isEmpty(defaultValue) && !literals.isEmpty()) defaultValue = enumer.getFullyQualifiedName() + ".fromValue(\"" + defaultValue + "\")"; defaultValue = enumer.getName() + '.' + defaultValue;
/** * <p> * The name of the model element. * </p> * @see ModelElementFacade#getName() */ public String getName() { return this.getSuperEnumerationFacade().getName(); }
/** * <p> * Finds the tagged value with the specified 'tagName'. In case * there are more values the first one found will be returned. * </p> * @see ModelElementFacade#findTaggedValue(String tagName) */ public Object findTaggedValue(String tagName) { return this.getSuperEnumerationFacade().findTaggedValue(tagName); }
/** * <p> * Those abstraction dependencies for which this classifier is the * client. * </p> * @see ClassifierFacade#getAbstractions() */ public Collection<ClassifierFacade> getAbstractions() { return this.getSuperEnumerationFacade().getAbstractions(); }
/** * <p> * Lists all classes associated to this one and any ancestor * classes (through generalization). There will be no duplicates. * The order of the elements is predictable. * </p> * @see ClassifierFacade#getAllAssociatedClasses() */ public Collection<ClassifierFacade> getAllAssociatedClasses() { return this.getSuperEnumerationFacade().getAllAssociatedClasses(); }
/** * <p> * Copies all tagged values from the given ModelElementFacade to * this model element facade. * </p> * @see ModelElementFacade#copyTaggedValues(ModelElementFacade element) */ public void copyTaggedValues(ModelElementFacade element) { this.getSuperEnumerationFacade().copyTaggedValues(element); }
/** * <p> * Returns all the values for the tagged value with the specified * name. The returned collection will contains only String * instances, or will be empty. Never null. * </p> * @see ModelElementFacade#findTaggedValues(String tagName) */ public Collection findTaggedValues(String tagName) { return this.getSuperEnumerationFacade().findTaggedValues(tagName); }
/** * <p> * Return the attribute which name matches the parameter * </p> * @see ClassifierFacade#findAttribute(String name) */ public AttributeFacade findAttribute(String name) { return this.getSuperEnumerationFacade().findAttribute(name); }
Collection<AttributeFacade> literals = enumer.getLiterals(); if (StringUtils.isEmpty(defaultValue) && !literals.isEmpty()) defaultValue = enumer.getFullyQualifiedName() + ".fromValue(\"" + defaultValue + "\")"; defaultValue = enumer.getName() + '.' + defaultValue;
/** * <p> * The name of the model element. * </p> * @see ModelElementFacade#getName() */ public String getName() { return this.getSuperEnumerationFacade().getName(); }
/** * <p> * Finds the tagged value optional searching the entire inheritance * hierarchy if 'follow' is set to true. * </p> * @see GeneralizableElementFacade#findTaggedValue(String tagName, boolean follow) */ public Object findTaggedValue(String tagName, boolean follow) { return this.getSuperEnumerationFacade().findTaggedValue(tagName, follow); }
/** * <p> * Those abstraction dependencies for which this classifier is the * client. * </p> * @see ClassifierFacade#getAbstractions() */ public Collection<ClassifierFacade> getAbstractions() { return this.getSuperEnumerationFacade().getAbstractions(); }
/** * <p> * Lists all classes associated to this one and any ancestor * classes (through generalization). There will be no duplicates. * The order of the elements is predictable. * </p> * @see ClassifierFacade#getAllAssociatedClasses() */ public Collection<ClassifierFacade> getAllAssociatedClasses() { return this.getSuperEnumerationFacade().getAllAssociatedClasses(); }
/** * <p> * Copies all tagged values from the given ModelElementFacade to * this model element facade. * </p> * @see ModelElementFacade#copyTaggedValues(ModelElementFacade element) */ public void copyTaggedValues(ModelElementFacade element) { this.getSuperEnumerationFacade().copyTaggedValues(element); }
/** * <p> * Returns all the values for the tagged value with the specified * name. The returned collection will contains only String * instances, or will be empty. Never null. * </p> * @see ModelElementFacade#findTaggedValues(String tagName) */ public Collection findTaggedValues(String tagName) { return this.getSuperEnumerationFacade().findTaggedValues(tagName); }
/** * <p> * Return the attribute which name matches the parameter * </p> * @see ClassifierFacade#findAttribute(String name) */ public AttributeFacade findAttribute(String name) { return this.getSuperEnumerationFacade().findAttribute(name); }
/** * <p> * The type of the enumeration's literals. * </p> * @see EnumerationFacade#getLiteralType() */ public ClassifierFacade getLiteralType() { return this.getSuperEnumerationFacade().getLiteralType(); }