Uses of Interface
org.nuiton.eugene.models.object.ObjectModelAttribute
-
Packages that use ObjectModelAttribute Package Description org.nuiton.eugene Eugene.org.nuiton.eugene.java Eugene java package : all specific class for Java generation.org.nuiton.eugene.models.extension.io org.nuiton.eugene.models.friend org.nuiton.eugene.models.object org.nuiton.eugene.models.object.validator org.nuiton.eugene.models.object.xml org.nuiton.eugene.models.tagvalue -
-
Uses of ObjectModelAttribute in org.nuiton.eugene
Methods in org.nuiton.eugene with parameters of type ObjectModelAttribute Modifier and Type Method Description static StringGeneratorUtil. getAssocAttrName(ObjectModelAttribute attr)Renvoie le nom de l'attribut de classe d'association en fonction des cas: Si l'attribut porte le même nom que le type (extrémité inverse de l'association), on lui ajoute le nom de la classe d'associationStringEugeneCoreTagValues. getAttributeGenericTagValue(ObjectModelAttribute attribute)Obtain the value of theEugeneCoreTagValues.Store.attributeGenerictag value on the given attribute.static StringEugeneCoreTagValues. getDefaultValue(ObjectModelAttribute attribute)Check if the given attribute has theEugeneCoreTagValues.Store.defaultValueboolean tag value.static StringGeneratorUtil. getInitValue(ObjectModelAttribute attribute)return an init value for the specified attributestatic booleanGeneratorUtil. isBooleanPrimitive(ObjectModelAttribute attribute)Tests if an attribute is a boolean primitive.static booleanGeneratorUtil. isComposition(ObjectModelAttribute attribute)static booleanGeneratorUtil. isFirstAttribute(ObjectModelAttribute attr)Renvoie si l'attribut passé en paramètre est premier lexicographiquement par rapport à son attribut inverse (si celui ci existe).static booleanGeneratorUtil. isNMultiplicity(ObjectModelAttribute attribute)static booleanGeneratorUtil. isOneMultiplicity(ObjectModelAttribute attribute)static booleanEugeneCoreTagValues. isOrdered(ObjectModelAttribute attribute)Check if the given attribute has theEugeneCoreTagValues.Store.orderedboolean tag value.static booleanGeneratorUtil. isPrimitiveAttributeType(ObjectModelAttribute attribute)Indicates if the specified attribute has a primitive type (byte, boolean, ...)static booleanEugeneCoreTagValues. isUnique(ObjectModelAttribute attribute)Check if the given attribute has theEugeneCoreTagValues.Store.uniqueboolean tag value. -
Uses of ObjectModelAttribute in org.nuiton.eugene.java
Methods in org.nuiton.eugene.java that return ObjectModelAttribute Modifier and Type Method Description ObjectModelAttributeJavaBuilder. addAttribute(ObjectModelClassifier classifier, String name, String type)Add a new attribute to a classifier with no default value.ObjectModelAttributeJavaBuilder. addAttribute(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier... modifiers)Add a new attribute to a classifier.ObjectModelAttributeJavaBuilder. addAttribute(ObjectModelClassifier classifier, ObjectModelAttribute attribute)Add a new attribute to a classifier from an existing attribute.protected ObjectModelAttributeObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, String name, Class<?> type, String value, ObjectModelModifier... modifiers)ObjectModelAttributeObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, String name, String type)protected ObjectModelAttributeObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier... modifiers)protected ObjectModelAttributeObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, ObjectModelAttribute attribute)ObjectModelAttributeJavaBuilder. addConstant(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier visibility)Add a new constant to a classifier.protected ObjectModelAttributeObjectModelTransformerToJava. addConstant(ObjectModelClassifier classifier, String name, Class<?> type, String value, ObjectModelModifier visibility)protected ObjectModelAttributeObjectModelTransformerToJava. addConstant(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier visibility)protected ObjectModelAttributeObjectModelTransformerToJava. cloneAttribute(ObjectModelAttribute source, ObjectModelClassifier destination, boolean cloneDocumentation, ObjectModelModifier... modifiers)clone a given attribute into a classifier of the output modelMethods in org.nuiton.eugene.java with parameters of type ObjectModelAttribute Modifier and Type Method Description ObjectModelAttributeJavaBuilder. addAttribute(ObjectModelClassifier classifier, ObjectModelAttribute attribute)Add a new attribute to a classifier from an existing attribute.protected ObjectModelAttributeObjectModelTransformerToJava. addAttribute(ObjectModelClassifier classifier, ObjectModelAttribute attribute)protected ObjectModelAttributeObjectModelTransformerToJava. cloneAttribute(ObjectModelAttribute source, ObjectModelClassifier destination, boolean cloneDocumentation, ObjectModelModifier... modifiers)clone a given attribute into a classifier of the output modelstatic Class<?>JavaGeneratorUtil. getCollectionInstanceType(ObjectModelAttribute attr)static Class<?>JavaGeneratorUtil. getCollectionType(ObjectModelAttribute attr)static booleanJavaGeneratorUtil. isOrdered(ObjectModelAttribute attr)voidObjectModelTransformerToJava. setMaxMultiplicity(ObjectModelAttribute attribute, int multiplicity)Adds a max multiplicity to the givenattribute.voidObjectModelTransformerToJava. setMinMultiplicity(ObjectModelAttribute attribute, int multiplicity)Adds a min multiplicity to the givenattribute.voidObjectModelTransformerToJava. setNavigable(ObjectModelAttribute attribute, boolean navigable)Adds a navigable flag to the givenattribute.Method parameters in org.nuiton.eugene.java with type arguments of type ObjectModelAttribute Modifier and Type Method Description protected voidJavaGenerator. generateAttributes(Writer output, ObjectModelClassifier clazz, Collection<ObjectModelAttribute> attributes)Generate attributes from a collection of ObjectModelAttribute. -
Uses of ObjectModelAttribute in org.nuiton.eugene.models.extension.io
Methods in org.nuiton.eugene.models.extension.io that return ObjectModelAttribute Modifier and Type Method Description protected ObjectModelAttributeModelExtensionReader. getAttribute(ObjectModelClassifier clazz, String name)Retrieve an attribute from aclazzwith itsname.protected ObjectModelAttributeModelExtensionReader. getInheritedAttribute(ObjectModelClassifier clazz, String name) -
Uses of ObjectModelAttribute in org.nuiton.eugene.models.friend
Methods in org.nuiton.eugene.models.friend with parameters of type ObjectModelAttribute Modifier and Type Method Description static AttributeDefAttributeDef. of(ObjectModelAttribute anAttribute, String defaultPackage, String defaultReverseName) -
Uses of ObjectModelAttribute in org.nuiton.eugene.models.object
Methods in org.nuiton.eugene.models.object that return ObjectModelAttribute Modifier and Type Method Description ObjectModelAttributeObjectModelBuilder. addAssociation(ObjectModelClassifier classifierA, ObjectModelClassifier classifierB, String roleName, int minMultiplicity, int maxMultiplicity, ObjectModelModifier... modifiers)Add an association A to B.ObjectModelAttributeObjectModelBuilder. addAttribute(ObjectModelClassifier classifier, String name, String type)Add an attribute to a classifier (interface, class, enum) without default value.ObjectModelAttributeObjectModelBuilder. addAttribute(ObjectModelClassifier classifier, String name, String type, String value, ObjectModelModifier... modifiers)Add an attribute to a classifier (interface, class, enum).ObjectModelAttributeObjectModelBuilder. addReverseAssociation(ObjectModelAttribute attrAssociation, String roleName, int minMultiplicity, int maxMultiplicity, ObjectModelModifier... modifiers)Create reverse association from an other association.ObjectModelAttributeObjectModelClassifier. getAttribute(String attributeName)Returns the attribute corresponding to the given name, or null if the class contains no attribute for this name.ObjectModelAttributeObjectModelAttribute. getReverseAttribute()Returns the attribute used to reference this class at the other end of the association or null if this is not an association, or if it is not bi-directionnal.Methods in org.nuiton.eugene.models.object that return types with arguments of type ObjectModelAttribute Modifier and Type Method Description Collection<ObjectModelAttribute>ObjectModelClassifier. getAllInterfaceAttributes()Returns all attributes defined on all interfaces implemented by this classifier, directly or indirectly.Collection<ObjectModelAttribute>ObjectModelClassifier. getAllOtherAttributes()Returns all attributes defined on all super class extended by this classifier, directly or indirectly.Collection<ObjectModelAttribute>ObjectModelClassifier. getAttributes()Returns all attributes defined on this class.List<ObjectModelAttribute>ObjectModelAssociationClass. getParticipantsAttributes()Returns all participants (that is association ends) attributes for this association class.Methods in org.nuiton.eugene.models.object with parameters of type ObjectModelAttribute Modifier and Type Method Description ObjectModelAttributeObjectModelBuilder. addReverseAssociation(ObjectModelAttribute attrAssociation, String roleName, int minMultiplicity, int maxMultiplicity, ObjectModelModifier... modifiers)Create reverse association from an other association.ObjectModelAssociationClassObjectModelBuilder. createAssociationClass(String name, String packageName, ObjectModelAttribute attrAssociationA, ObjectModelAttribute attrAssociationB, ObjectModelModifier... modifiers)Create association class.voidObjectModelBuilder. setMaxMultiplicity(ObjectModelAttribute attribute, int multiplicity)Set the max multiplicity of an attribute in the model.voidObjectModelBuilder. setMinMultiplicity(ObjectModelAttribute attribute, int multiplicity)Set the min multiplicity of an attribute in the model.voidObjectModelBuilder. setNavigable(ObjectModelAttribute attribute, boolean navigable)Set the navigable flag of an attribute in the model. -
Uses of ObjectModelAttribute in org.nuiton.eugene.models.object.validator
Methods in org.nuiton.eugene.models.object.validator with parameters of type ObjectModelAttribute Modifier and Type Method Description protected booleanAttributeNamesValidator. validateAttribute(ObjectModelAttribute attr)protected booleanObjectModelValidator. validateAttribute(ObjectModelAttribute attr) -
Uses of ObjectModelAttribute in org.nuiton.eugene.models.object.xml
Classes in org.nuiton.eugene.models.object.xml that implement ObjectModelAttribute Modifier and Type Class Description classObjectModelAttributeImplObjectModelAttributeImpl.Fields in org.nuiton.eugene.models.object.xml with type parameters of type ObjectModelAttribute Modifier and Type Field Description protected Map<String,ObjectModelAttribute>ObjectModelClassifierImpl. attributesprotected List<ObjectModelAttribute>ObjectModelClassifierImpl. orderedAttributesprotected List<ObjectModelAttribute>ObjectModelAssociationClassImpl. participantsAttributesMethods in org.nuiton.eugene.models.object.xml that return ObjectModelAttribute Modifier and Type Method Description ObjectModelAttributeObjectModelClassifierImpl. getAttribute(String attributeName)Returns the attribute corresponding to the given name, or null if the class contains no attribute for this name.ObjectModelAttributeObjectModelAttributeImpl. getReverseAttribute()Returns the attribute used to reference this class at the other end of the association or null if this is not an association, or if it is not bi-directionnal. @ see #getClassifier()Methods in org.nuiton.eugene.models.object.xml that return types with arguments of type ObjectModelAttribute Modifier and Type Method Description Collection<ObjectModelAttribute>ObjectModelClassifierImpl. getAllInterfaceAttributes()protected Collection<ObjectModelAttribute>ObjectModelClassifierImpl. getAllInterfaceAttributes(Collection<ObjectModelAttribute> result)Collection<ObjectModelAttribute>ObjectModelClassifierImpl. getAllOtherAttributes()Collection<ObjectModelAttribute>ObjectModelClassImpl. getAllOtherAttributes()protected Collection<ObjectModelAttribute>ObjectModelClassImpl. getAllOtherAttributes(Collection<ObjectModelAttribute> result)Collection<ObjectModelAttribute>ObjectModelClassifierImpl. getAttributes()List<ObjectModelAttribute>ObjectModelAssociationClassImpl. getParticipantsAttributes()Returns all participants (that is association ends) attributes for this association class.Method parameters in org.nuiton.eugene.models.object.xml with type arguments of type ObjectModelAttribute Modifier and Type Method Description protected Collection<ObjectModelAttribute>ObjectModelClassifierImpl. getAllInterfaceAttributes(Collection<ObjectModelAttribute> result)protected Collection<ObjectModelAttribute>ObjectModelClassImpl. getAllOtherAttributes(Collection<ObjectModelAttribute> result) -
Uses of ObjectModelAttribute in org.nuiton.eugene.models.tagvalue
Methods in org.nuiton.eugene.models.tagvalue with parameters of type ObjectModelAttribute Modifier and Type Method Description booleanObjectModelTagValuesStore. findAttributeBooleanTagValue(TagValueMetadata tagName, ObjectModelClass clazz, ObjectModelAttribute attribute)IntegerObjectModelTagValuesStore. findAttributeIntegerTagValue(TagValueMetadata tagName, ObjectModelClass clazz, ObjectModelAttribute attribute)StringObjectModelTagValuesStore. findAttributeTagValue(TagValueMetadata tagName, ObjectModelClass clazz, ObjectModelAttribute attribute)
-