public class JavaTemplatesStereoTypes extends StereotypeDefinitionProvider
|
| Modifier and Type | Field and Description |
|---|---|
static String |
STEREOTYPE_BEAN
Stereotype for JavaBean objects to place on a classifier.
|
definition, deprecated, verbose| Constructor and Description |
|---|
JavaTemplatesStereoTypes() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasBeanStereotype(ObjectModelClassifier classifier,
ObjectModelPackage aPackage)
Check if the given classifier has the
STEREOTYPE_BEAN stereotype. |
static boolean |
hasBeanStereotype(ObjectModelPackage aPackage)
Check if the given aPackage has the
STEREOTYPE_BEAN stereotype. |
addAllDefinition, addAllDeprecated, addDefinition, addDeprecated, getDefinition, getDefinition, init, initDefinition, isDeprecated, isVerbose, scanClass, setVerbose, validatepublic static final String STEREOTYPE_BEAN
public static boolean hasBeanStereotype(ObjectModelClassifier classifier, ObjectModelPackage aPackage)
STEREOTYPE_BEAN stereotype.classifier - classifier to testtrue if stereotype was found, false otherwiseSTEREOTYPE_BEANpublic static boolean hasBeanStereotype(ObjectModelPackage aPackage)
STEREOTYPE_BEAN stereotype.aPackage - classifier to testtrue if stereotype was found, false otherwiseSTEREOTYPE_BEANCopyright © 2012–2015 CodeLutin. All rights reserved.