com.ashridgetech.jamda.ejb.uml
Class UpdateObjectType
java.lang.Object
|
+--com.ashridgetech.jamda.uml.ModelElement
|
+--com.ashridgetech.jamda.uml.Type
|
+--com.ashridgetech.jamda.uml.StructuredType
|
+--com.ashridgetech.jamda.uml.ClassType
|
+--com.ashridgetech.jamda.ejb.uml.DataTransferObjectType
|
+--com.ashridgetech.jamda.ejb.uml.UpdateObjectType
- public class UpdateObjectType
- extends DataTransferObjectType
A UML representation of an Updates Object class.
- Version:
- 1.0
- Author:
- paulb
Methods inherited from class com.ashridgetech.jamda.uml.ClassType |
addInterface, addProperty, checkValid, getAssociationEnds, getAttribute, getAttribute, getAttribute, getAttributes, getAttributes, getAttributes, getAttributes, getConstructors, getInterfaces, getSubElementStore, getSuperClass, isAbstract, isSimple, makeProperties, makeProperty, propertyInitCode, setAbstract, setSuperClass, setVisibility |
Methods inherited from class com.ashridgetech.jamda.uml.StructuredType |
addProperties, addReadOnlyProperty, addSuperType, addWritableProperty, getAllProperties, getAllTaggedValues, getOperation, getOperation, getOperations, getOperations, getOperations, getOperations, getOperations, getParentPackage, getProperties, getProperty, getSubTypes, getSuperTypes, getVisibility, load, setStructuredTypeVisibility |
Methods inherited from class com.ashridgetech.jamda.uml.ModelElement |
add, addStereotype, addTaggedValue, addTaggedValue, addTaggedValues, addTaggedValuesInternal, checkInitialised, checkState, findTaggedValueCollection, getBooleanTaggedValue, getChildElements, getComment, getDescription, getDirectSource, getElement, getElementType, getFullName, getId, getModel, getName, getOriginalSource, getParentElement, getProperties, getStereotypes, getStringTaggedValue, getTaggedValue, getTaggedValues, getXpathContext, hasStereotype, hasTaggedValue, init, initLoad, isInitialised, load, load, loadElement, logChange, logger, logger, logLoad, logLoadWarning, logNew, logWarning, removeTaggedValue, select, setComment, setDirectSource, setTaggedValue, setTaggedValue, setTaggedValue, setTaggedValues, stereotype, tag, tagError, toString, type, type, type, xpath, xpathList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UpdateObjectType
UpdateObjectType(ModelPackage parentPackage,
java.lang.String name,
ClassType source,
Actor actor)
- Creates a new
UpdateObjectType
belonging to a ModelPackage
.
Package scope - use DataTransferObjectTypeFactory.getUpdateObjectType(com.ashridgetech.jamda.uml.ClassType, com.ashridgetech.jamda.uml.Actor)
to create a UpdateObjectType
.
UpdateObjectType
public UpdateObjectType(ru.novosoft.uml.foundation.core.MClass mc,
ModelPackage parentPackage)
- Initialises new
UpdateObjectType
during loading.
setup
protected void setup()
- Set up the characteristics from the source class.
findPropertyType
protected Type findPropertyType(Property property)
- Find the
Type
to use in this value object for a property of the source class.
- Specified by:
findPropertyType
in class DataTransferObjectType
addHasProperty
protected void addHasProperty(Property property)
- Add the hasXXX method and attribute for an updates object property.
- Parameters:
property
- the source property
addUpdateProperty
protected void addUpdateProperty(Property property)
- Add the get/setXXX method and attribute for an updates object property.
NOTE: this method relies on
StructuredType.addWritableProperty(com.ashridgetech.jamda.uml.ModelElement, java.lang.String, com.ashridgetech.jamda.uml.Type)
setting the operation's Procedure
- Parameters:
property
- the source property
hasPropertyName
protected java.lang.String hasPropertyName(Property property)
Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.