TPTP 4.4.0 Monitoring Tools Project
Internal API Specification

org.eclipse.tptp.wsdm.tooling.editor.capability.command.property.internal
Class AddPropertyCommand

java.lang.Object
  extended byorg.eclipse.tptp.wsdm.tooling.editor.capability.command.property.internal.AddPropertyCommand

public class AddPropertyCommand
extends java.lang.Object

Command class to add new property to the capability.
It performs the following changes.

This class can handle the situation where no WSDL Types have been defined for WSDL Definition.


Constructor Summary
AddPropertyCommand(CapabilityDomain capabilityDomain, org.eclipse.xsd.XSDElementDeclaration newProperty)
          Creates a new object of this class.
 
Method Summary
 void execute()
          Execute the command.
 org.eclipse.tptp.wsdm.tooling.model.capabilities.Property getProperty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddPropertyCommand

public AddPropertyCommand(CapabilityDomain capabilityDomain,
                          org.eclipse.xsd.XSDElementDeclaration newProperty)
Creates a new object of this class.

Method Detail

execute

public void execute()
Execute the command.


getProperty

public org.eclipse.tptp.wsdm.tooling.model.capabilities.Property getProperty()
Returns:
Newely created property.

TPTP 4.4.0 Monitoring Tools Project
Internal API Specification