UML

org.topcased.modeler.uml.classdiagram.util
Class InstanceSpecificationDataStructure

java.lang.Object
  extended by org.topcased.modeler.uml.classdiagram.util.InstanceSpecificationDataStructure

Deprecated. Do not use this class anymore since the associated dialog and command have been marked as deprecated too

public class InstanceSpecificationDataStructure
extends java.lang.Object

Provide a structure for handling InstanceSpecification data
creation : 27 may 2005


Nested Class Summary
 class InstanceSpecificationDataStructure.InstanceSpecificationDataObject
          Deprecated. Internal class to handle a property value in an InstanceSpecification object
 
Constructor Summary
InstanceSpecificationDataStructure(org.eclipse.uml2.uml.Class clazz, org.eclipse.uml2.uml.InstanceSpecification instance)
          Deprecated. The constructor
InstanceSpecificationDataStructure(org.eclipse.uml2.uml.InstanceSpecification instance)
          Deprecated. The constructor
 
Method Summary
 void add(org.eclipse.uml2.uml.Property property, java.lang.String value)
          Deprecated. Add a property to the structure
 void addAll(java.util.Collection properties, org.eclipse.uml2.uml.InstanceSpecification instance)
          Deprecated. Add a collection of properties to an instance specification
 java.util.Collection getData()
          Deprecated. get the data collection
 java.lang.String getDisplayName(java.lang.Object object)
          Deprecated. Get the name of a given object
 java.lang.String getDisplayType(java.lang.Object object)
          Deprecated. Get the type name of a given object
 java.lang.String getDisplayValue(java.lang.Object object)
          Deprecated. Get the value of a given object
 org.eclipse.uml2.uml.Type getType(java.lang.Object object)
          Deprecated. Get the type of a given object
 void updateObject(java.lang.Object object, java.lang.Object value, java.lang.String optionalText, org.eclipse.uml2.uml.InstanceSpecification instance)
          Deprecated. Update the given object in the collection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceSpecificationDataStructure

public InstanceSpecificationDataStructure(org.eclipse.uml2.uml.InstanceSpecification instance)
Deprecated. 
The constructor

Parameters:
instance -

InstanceSpecificationDataStructure

public InstanceSpecificationDataStructure(org.eclipse.uml2.uml.Class clazz,
                                          org.eclipse.uml2.uml.InstanceSpecification instance)
Deprecated. 
The constructor

Parameters:
clazz -
instance -
Method Detail

add

public void add(org.eclipse.uml2.uml.Property property,
                java.lang.String value)
Deprecated. 
Add a property to the structure

Parameters:
property -
value -

addAll

public void addAll(java.util.Collection properties,
                   org.eclipse.uml2.uml.InstanceSpecification instance)
Deprecated. 
Add a collection of properties to an instance specification

Parameters:
properties -
instance -

getData

public java.util.Collection getData()
Deprecated. 
get the data collection

Returns:
a Collection of InstanceStructureObject objects

getDisplayName

public java.lang.String getDisplayName(java.lang.Object object)
Deprecated. 
Get the name of a given object

Parameters:
object - InstanceSpecificationDataObject object
Returns:
the name

getDisplayType

public java.lang.String getDisplayType(java.lang.Object object)
Deprecated. 
Get the type name of a given object

Parameters:
object - InstanceSpecificationDataObject object
Returns:
the name of the type

getType

public org.eclipse.uml2.uml.Type getType(java.lang.Object object)
Deprecated. 
Get the type of a given object

Parameters:
object - InstanceSpecificationDataObject object
Returns:
the type

getDisplayValue

public java.lang.String getDisplayValue(java.lang.Object object)
Deprecated. 
Get the value of a given object

Parameters:
object - InstanceSpecificationDataObject object
Returns:
the value as a String

updateObject

public void updateObject(java.lang.Object object,
                         java.lang.Object value,
                         java.lang.String optionalText,
                         org.eclipse.uml2.uml.InstanceSpecification instance)
Deprecated. 
Update the given object in the collection

Parameters:
object - InstanceSpecificationDataObject object to update
value - the new value
optionalText - an optional text use when a string has been set by the user
instance - the instance specification object

UML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.