com.ibm.websphere.models.extensions.pushdownejbext
Interface PushDownConnectionSpecProperty

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
PushDownConnectionSpecPropertyImpl

public interface PushDownConnectionSpecProperty
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Push Down Connection Spec Property'. Information that needs to be set into the CCI connectionSpec. The generated BeanAdaptorBinding (BAB) class will instantiate a connectionSpec class of the type specified in PushDownContainerManagedEntityExtension's connectionSpecClassName, then will call set(), where is capitalized. If type is other than "java.lang.String", then it is assumed the type has a constructor that takes a string as a parameter, except for primitives which are handled specially (for example, an "int", would be constructed via Integer.parseInt().intValue()). For instance, if name="host" and value="localhost" and type="java.lang.String", then connectionSpec.setHost("localhost") will be generated. The BAB passes this connectionSpec to the createAdapter method of the EJBToRAAdapter implementation (such as WSProceduralRAAdapter).

The following features are supported:

See Also:
PushdownejbextPackage.getPushDownConnectionSpecProperty()

Method Summary
 java.lang.String getDescription()
          Returns the value of the 'Description' attribute
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 java.lang.String getType()
          Returns the value of the 'Type' attribute.
 java.lang.String getValue()
          Returns the value of the 'Value' attribute
 boolean isSetType()
          Returns whether the value of the 'Type' attribute is set
 void setDescription(java.lang.String value)
          Sets the value of the 'Description' attribute
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setType(java.lang.String value)
          Sets the value of the 'Type' attribute
 void setValue(java.lang.String value)
          Sets the value of the 'Value' attribute
 void unsetType()
          Unsets the value of the 'Type' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getName

java.lang.String getName()
Returns the value of the 'Name' attribute. Name of the property. It is assumed the connectionSpec has a set method - for instance, if name="host", it is assumed that the connectionSpec has a setName method (which takes a parameter whose type is specified by the "type" attribute).

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), PushdownejbextPackage.getPushDownConnectionSpecProperty_Name()

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getValue

java.lang.String getValue()
Returns the value of the 'Value' attribute. The value to be set for the given named connectionSpec property.

Returns:
the value of the 'Value' attribute.
See Also:
setValue(String), PushdownejbextPackage.getPushDownConnectionSpecProperty_Value()

setValue

void setValue(java.lang.String value)
Sets the value of the 'Value' attribute.

Parameters:
value - the new value of the 'Value' attribute.
See Also:
getValue()

getType

java.lang.String getType()
Returns the value of the 'Type' attribute. The default value is "java.lang.String". The datatype of the value to be set. This is either a primitive (like "int") or a fully qualified Java class name. If a Java class name is specified, it is assumed to have a constructor that takes a String parameter (the "value" attribute).

Returns:
the value of the 'Type' attribute.
See Also:
isSetType(), unsetType(), setType(String), PushdownejbextPackage.getPushDownConnectionSpecProperty_Type()

setType

void setType(java.lang.String value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
isSetType(), unsetType(), getType()

unsetType

void unsetType()
Unsets the value of the 'Type' attribute.

See Also:
isSetType(), getType(), setType(String)

isSetType

boolean isSetType()
Returns whether the value of the 'Type' attribute is set.

Returns:
whether the value of the 'Type' attribute is set.
See Also:
unsetType(), getType(), setType(String)

getDescription

java.lang.String getDescription()
Returns the value of the 'Description' attribute. Optional description of the connectionSpec property.

Returns:
the value of the 'Description' attribute.
See Also:
setDescription(String), PushdownejbextPackage.getPushDownConnectionSpecProperty_Description()

setDescription

void setDescription(java.lang.String value)
Sets the value of the 'Description' attribute.

Parameters:
value - the new value of the 'Description' attribute.
See Also:
getDescription()