com.ashridgetech.jamda.ejb.uml
Class ValueObjectType

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.ValueObjectType

public class ValueObjectType
extends DataTransferObjectType

A UML representation of a Value Object class.

Version:
1.0
Author:
paulb

Nested Class Summary
 
Nested classes inherited from class com.ashridgetech.jamda.uml.StructuredType
StructuredType.Aggregation, StructuredType.PropertyImpl, StructuredType.Visibility
 
Nested classes inherited from class com.ashridgetech.jamda.uml.ModelElement
ModelElement.DuplicateElementException, ModelElement.ElementListStore, ModelElement.ElementNameListStore, ModelElement.ElementNameStore, ModelElement.ElementStore, ModelElement.TaggedValue, ModelElement.UnknownElementException
 
Field Summary
 
Fields inherited from class com.ashridgetech.jamda.ejb.uml.DataTransferObjectType
STD_OBJECT_ID_NAME, STD_OBJECT_ID_TYPE
 
Fields inherited from class com.ashridgetech.jamda.uml.StructuredType
READ_ONLY, UNBOUNDED, WRITABLE
 
Fields inherited from class com.ashridgetech.jamda.uml.ModelElement
DUMMY_STORE
 
Constructor Summary
  ValueObjectType(ru.novosoft.uml.foundation.core.MClass mc, ModelPackage parentPackage)
          Initialises new ValueObjectType during loading.
(package private) ValueObjectType(ModelPackage parentPackage, java.lang.String name, ClassType source, Actor actor)
          Creates a new ValueObjectType belonging to a ModelPackage.
 
Method Summary
protected  Type findPropertyType(Property property)
          Find the Type to use in this value object for a property of the source class.
protected  void setup()
          Set up the characteristics from the source class.
 
Methods inherited from class com.ashridgetech.jamda.ejb.uml.DataTransferObjectType
factory, getActor, getOidName, getOidType, getSourceClass, setup
 
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
 

Constructor Detail

ValueObjectType

ValueObjectType(ModelPackage parentPackage,
                java.lang.String name,
                ClassType source,
                Actor actor)
Creates a new ValueObjectType belonging to a ModelPackage. Package scope - use DataTransferObjectTypeFactory.getValueObjectType(com.ashridgetech.jamda.uml.ClassType, com.ashridgetech.jamda.uml.Actor) to create a ValueObjectType .


ValueObjectType

public ValueObjectType(ru.novosoft.uml.foundation.core.MClass mc,
                       ModelPackage parentPackage)
Initialises new ValueObjectType during loading.

Method Detail

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


Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.