public class TopiaStereoTypes
extends org.nuiton.eugene.models.stereotype.StereotypeDefinitionProvider
|
| Modifier and Type | Field and Description |
|---|---|
static String |
STEREOTYPE_DAO
Stéréotype pour les interfaces devant être générées sous forme de DAO.
|
static String |
STEREOTYPE_DTO
Stéréotype pour les objets devant être générées sous forme de DTO.
|
static String |
STEREOTYPE_ENTITY
Stéréotype pour les objets devant être générées sous forme d'entités
|
static String |
STEREOTYPE_PRIMARY_KEY
Deprecated.
since 3.0, use nowhere in ToPIA
|
| Constructor and Description |
|---|
TopiaStereoTypes() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasDaoStereotype(org.nuiton.eugene.models.object.ObjectModelClassifier classifier)
Check if the given classifier has the
STEREOTYPE_DAO stereotype. |
static boolean |
hasDaoStereotype(org.nuiton.eugene.models.object.ObjectModelOperation operation)
Check if the given operation has the
STEREOTYPE_DAO stereotype. |
static boolean |
hasDtoStereotype(org.nuiton.eugene.models.object.ObjectModelClassifier classifier)
Check if the given classifier has the
STEREOTYPE_DTO stereotype. |
static boolean |
hasEntityStereotype(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
Check if the given attribute has the
STEREOTYPE_ENTITY stereotype. |
static boolean |
hasEntityStereotype(org.nuiton.eugene.models.object.ObjectModelClassifier classifier)
Check if the given classifier has the
STEREOTYPE_ENTITY stereotype. |
static boolean |
hasPrimaryKeyStereotype(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
Deprecated.
since 3.0, not used in ToPIA
|
public static final String STEREOTYPE_ENTITY
public static final String STEREOTYPE_DTO
public static final String STEREOTYPE_DAO
@Deprecated public static final String STEREOTYPE_PRIMARY_KEY
public static boolean hasEntityStereotype(org.nuiton.eugene.models.object.ObjectModelClassifier classifier)
STEREOTYPE_ENTITY stereotype.classifier - classifier to testtrue if stereotype was found, false otherwiseSTEREOTYPE_ENTITYpublic static boolean hasEntityStereotype(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
STEREOTYPE_ENTITY stereotype.attribute - attribute to testtrue if stereotype was found, false otherwiseSTEREOTYPE_ENTITYpublic static boolean hasDtoStereotype(org.nuiton.eugene.models.object.ObjectModelClassifier classifier)
STEREOTYPE_DTO stereotype.classifier - classifier to testtrue if stereotype was found, false otherwiseSTEREOTYPE_DTOpublic static boolean hasDaoStereotype(org.nuiton.eugene.models.object.ObjectModelClassifier classifier)
STEREOTYPE_DAO stereotype.classifier - classifier to testtrue if stereotype was found, false otherwiseSTEREOTYPE_DAOpublic static boolean hasDaoStereotype(org.nuiton.eugene.models.object.ObjectModelOperation operation)
STEREOTYPE_DAO stereotype.operation - operation to testtrue if stereotype was found, false otherwiseSTEREOTYPE_DAO@Deprecated public static boolean hasPrimaryKeyStereotype(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
STEREOTYPE_PRIMARY_KEY stereotype.attribute - attribute to testtrue if stereotype was found, false otherwiseSTEREOTYPE_PRIMARY_KEYCopyright © 2004–2014 CodeLutin. All rights reserved.