com.hammurapi.config
Interface ObjectDefinition

All Superinterfaces:
CommonObject, org.eclipse.emf.ecore.EObject, Factory, org.eclipse.emf.common.notify.Notifier, PropertySource
All Known Subinterfaces:
NamedObjectDefinition
All Known Implementing Classes:
NamedObjectDefinitionImpl, ObjectDefinitionImpl

public interface ObjectDefinition
extends Factory, PropertySource

A representation of the model object 'Object Definition'. Definition of an object to instantiate and configure.

The following features are supported:

See Also:
ConfigPackage.getObjectDefinition()

Method Summary
 Constructor getConstructor()
          Returns the value of the 'Constructor' containment reference.
 String getType()
          Returns the value of the 'Type' attribute.
 String getValue()
          Returns the value of the 'Value' attribute.
 void setConstructor(Constructor value)
          Sets the value of the 'Constructor' containment reference.
 void setType(String value)
          Sets the value of the 'Type' attribute.
 void setValue(String value)
          Sets the value of the 'Value' attribute.
 
Methods inherited from interface com.hammurapi.config.Factory
compile, create, getConfigScript, getDescription, getHomePage, getId, getService, getSource, getSupportedExecutionEnvironments, isEnabled, setConfigScript, setDescription, setEnabled, setHomePage, setId
 
Methods inherited from interface com.hammurapi.party.CommonObject
getRoles
 
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
 
Methods inherited from interface com.hammurapi.config.PropertySource
getClassPath, getProfile, getProperty, injectProperties
 

Method Detail

getConstructor

Constructor getConstructor()
Returns the value of the 'Constructor' containment reference. Constructor definition.

Returns:
the value of the 'Constructor' containment reference.
See Also:
setConstructor(Constructor), ConfigPackage.getObjectDefinition_Constructor()

setConstructor

void setConstructor(Constructor value)
Sets the value of the 'Constructor' containment reference.

Parameters:
value - the new value of the 'Constructor' containment reference.
See Also:
getConstructor()

getValue

String getValue()
Returns the value of the 'Value' attribute. Object value. If value is present, then the object shall have a single argument constructor. The runtime configuration code will attempt to convert string value to the constructor parameter type, if needed.

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

setValue

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

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

getType

String getType()
Returns the value of the 'Type' attribute. Class name. The class shall have a default public constructor, unless there is a constructor definition for the object or value is provided in the definition.

Returns:
the value of the 'Type' attribute.
See Also:
setType(String), ConfigPackage.getObjectDefinition_Type()

setType

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

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