Uses of Interface
org.nuiton.eugene.models.object.ObjectModelClass
-
Packages that use ObjectModelClass Package Description org.nuiton.eugene Eugene.org.nuiton.eugene.java Eugene java package : all specific class for Java generation.org.nuiton.eugene.models.extension.tagvalue org.nuiton.eugene.models.object org.nuiton.eugene.models.object.validator org.nuiton.eugene.models.object.xml -
-
Uses of ObjectModelClass in org.nuiton.eugene
Methods in org.nuiton.eugene with parameters of type ObjectModelClass Modifier and Type Method Description static String
GeneratorUtil. computeSerialVersionUID(ObjectModelClass clazz)
Deprecated.since 2.4, prefer use the methodGeneratorUtil.generateSerialVersionUID(ObjectModelClassifier)
-
Uses of ObjectModelClass in org.nuiton.eugene.java
Methods in org.nuiton.eugene.java that return ObjectModelClass Modifier and Type Method Description ObjectModelClass
ObjectModelTransformerToJava. cloneClass(ObjectModelClass source, boolean cloneDocumentation)
creates a clone of the givensource
class in the output model and clones attributes, inheritence declarations and operations into the cloneObjectModelClass
JavaBuilder. createAbstractClass(String name, String packageName)
Create a new abstract class in the model.protected ObjectModelClass
ObjectModelTransformerToJava. createAbstractClass(String name, String packageName)
protected ObjectModelClass
ObjectModelTransformerToJava. createClass(String name, String packageName)
Methods in org.nuiton.eugene.java with parameters of type ObjectModelClass Modifier and Type Method Description ObjectModelOperation
JavaBuilder. addConstructor(ObjectModelClass clazz, ObjectModelModifier visibility)
Add a constructor to a class.protected ObjectModelOperation
ObjectModelTransformerToJava. addConstructor(ObjectModelClass clazz, ObjectModelModifier visibility)
protected void
ObjectModelTransformerToJava. addImport(ObjectModelClassifier classifier, ObjectModelClass imports)
ObjectModelClassifier
ObjectModelTransformerToJava. addInnerClassifier(ObjectModelClass clazz, ObjectModelType type, String name, ObjectModelModifier... modifiers)
void
JavaBuilder. addSuperclass(ObjectModelClass clazz, String superclassQualifiedName)
ObjectModelClass
ObjectModelTransformerToJava. cloneClass(ObjectModelClass source, boolean cloneDocumentation)
creates a clone of the givensource
class in the output model and clones attributes, inheritence declarations and operations into the clonevoid
JavaGenerator. generateFromClass(Writer output, ObjectModelClass input)
Generate from all classes.static String
JavaGeneratorUtil. getClassAttributesListDeclaration(ObjectModelClass clazz)
String
JavaGenerator. getFilenameForClass(ObjectModelClass clazz)
void
JavaBuilder. setSuperClass(ObjectModelClass classifier, String superclassQualifiedName)
Set the superclass of an other class.protected void
ObjectModelTransformerToJava. setSuperClass(ObjectModelClass classifier, Class<?> superclassQualifiedName)
protected void
ObjectModelTransformerToJava. setSuperClass(ObjectModelClass classifier, String superclassQualifiedName)
-
Uses of ObjectModelClass in org.nuiton.eugene.models.extension.tagvalue
Methods in org.nuiton.eugene.models.extension.tagvalue with parameters of type ObjectModelClass Modifier and Type Method Description LinkedHashSet<String>
MissingStereoTypeException. getUsageStack(String stereoTypeName, ObjectModelPackage aPackage, ObjectModelClass aClass)
Build the stack of usage of the given stereoType.protected LinkedHashSet<String>
MissingTagValueException. getUsageStack(String tagValueName, String tagValueValue, ObjectModelPackage aPackage, ObjectModelClass aClass)
Build the stack of usage of the given tag value.Constructors in org.nuiton.eugene.models.extension.tagvalue with parameters of type ObjectModelClass Constructor Description MissingStereoTypeException(String stereoTypeName, String prefixMessage, ObjectModelPackage aPackage, ObjectModelClass aClass)
MissingTagValueException(String tagValueName, String tagValueValue, String prefixMessage, ObjectModelPackage aPackage, ObjectModelClass aClass)
-
Uses of ObjectModelClass in org.nuiton.eugene.models.object
Subinterfaces of ObjectModelClass in org.nuiton.eugene.models.object Modifier and Type Interface Description interface
ObjectModelAssociationClass
ObjectModelAssociationClass.Methods in org.nuiton.eugene.models.object that return ObjectModelClass Modifier and Type Method Description ObjectModelClass
ObjectModelBuilder. createClass(String name, String packageName, ObjectModelModifier... modifiers)
Create a new class in the model.protected ObjectModelClass
ObjectModelBuilder. createClass(ObjectModelClassImpl clazz, String name, String packageName, ObjectModelModifier... modifiers)
ObjectModelClass
ObjectModelAttribute. getAssociationClass()
ObjectModelClass
ObjectModel. getClass(String qualifiedClassName)
Returns the class corresponding to the given qualified name, or null if the model contains no class for this qualified name.ObjectModelClass
ObjectModelPackage. getClass(String simpleName)
Returns the class corresponding to the given qualified name, or null if the package contains no class for this simple name.Methods in org.nuiton.eugene.models.object that return types with arguments of type ObjectModelClass Modifier and Type Method Description Collection<ObjectModelClass>
ObjectModel. getClasses()
Returns all classes defined in this model.Iterable<ObjectModelClass>
ObjectModelPackage. getClasses()
Returns all classes defined in this package.Collection<ObjectModelClass>
ObjectModelClass. getSpecialisations()
Returns all known direct specialized classes for this class.Collection<ObjectModelClass>
ObjectModelClass. getSpecialisations(String discriminator)
Returns all known direct specialized classes for this class for the specified discriminator.Collection<ObjectModelClass>
ObjectModelClass. getSuperclasses()
Returns all parent classes for this class.Methods in org.nuiton.eugene.models.object with parameters of type ObjectModelClass Modifier and Type Method Description ObjectModelClassifier
ObjectModelBuilder. addInnerClassifier(ObjectModelClass clazz, ObjectModelType type, String name, ObjectModelModifier... modifiers)
Add a superclass to an other class.void
ObjectModelBuilder. addSuperclass(ObjectModelClass clazz, String superclassQualifiedName)
Add a superclass to an other class.void
ObjectModelGenerator. generateFromClass(Writer output, ObjectModelClass input)
String
ObjectModelClass. getDiscriminator(ObjectModelClass superclass)
Returns the discriminator for the given superclass.String
ObjectModelGenerator. getFilenameForClass(ObjectModelClass clazz)
Par defaut cette methode retourne le QualifiedName convertie en chemin par exemple pour org.codelutin.Toto on aurait org/codelutin/Totovoid
ObjectModelTransformer. transformFromClass(ObjectModelClass clazz)
-
Uses of ObjectModelClass in org.nuiton.eugene.models.object.validator
Methods in org.nuiton.eugene.models.object.validator with parameters of type ObjectModelClass Modifier and Type Method Description protected boolean
ClassNamesValidator. validateClass(ObjectModelClass clazz)
protected boolean
ObjectModelValidator. validateClass(ObjectModelClass clazz)
-
Uses of ObjectModelClass in org.nuiton.eugene.models.object.xml
Classes in org.nuiton.eugene.models.object.xml that implement ObjectModelClass Modifier and Type Class Description class
ObjectModelAssociationClassImpl
ObjectModelAssociationClassImpl.javaclass
ObjectModelClassImpl
ObjectModelClassImpl.Fields in org.nuiton.eugene.models.object.xml with type parameters of type ObjectModelClass Modifier and Type Field Description protected Map<String,ObjectModelClass>
ObjectModelImpl. classes
protected List<ObjectModelClass>
ObjectModelClassImpl. specialisations
protected List<ObjectModelClass>
ObjectModelClassImpl. superclasses
protected Map<ObjectModelClass,String>
ObjectModelClassImpl. superclassesDiscriminators
Methods in org.nuiton.eugene.models.object.xml that return ObjectModelClass Modifier and Type Method Description ObjectModelClass
ObjectModelAttributeImpl. getAssociationClass()
Returns the association class associated with this association, or null if there is none.ObjectModelClass
ObjectModelImpl. getClass(String qualifiedClassName)
Returns the class corresponding to the given qualified name, or null if the model contains no class for this qualified name.ObjectModelClass
ObjectModelPackageImpl. getClass(String simpleName)
Methods in org.nuiton.eugene.models.object.xml that return types with arguments of type ObjectModelClass Modifier and Type Method Description Collection<ObjectModelClass>
ObjectModelImpl. getClasses()
Returns all classes defined in this model.Iterable<ObjectModelClass>
ObjectModelPackageImpl. getClasses()
Collection<ObjectModelClass>
ObjectModelClassImpl. getSpecialisations()
Returns all known direct specialized classes for this class.Collection<ObjectModelClass>
ObjectModelClassImpl. getSpecialisations(String discriminator)
Returns all known specialized classes for this class for the specified discriminator.Collection<ObjectModelClass>
ObjectModelClassImpl. getSuperclasses()
Methods in org.nuiton.eugene.models.object.xml with parameters of type ObjectModelClass Modifier and Type Method Description String
ObjectModelClassImpl. getDiscriminator(ObjectModelClass superclass)
Returns the discriminator for the given superclass.
-