public class ResourceContainerMetaData
extends java.lang.Object
Constructor and Description |
---|
ResourceContainerMetaData()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
void |
addManagedResource(ManagedResourceMetaData managedResourceMetaData)
This method adds a managed resource to be managed by the resource container.
|
void |
addOperationalResource(OperationalResourceMetaData operationResourceMetaData)
This method adds an operational resource to the resource container.
|
java.lang.String |
getApproveForeignKeyViolationAction()
This method returns the action taken by the resource manager should
a foreign key violation situation exist.
|
java.lang.String |
getApproveUniqueIndexViolationAction()
This method returns the action taken by resource manager should
a unique index violation situation exist.
|
java.lang.String |
getCheckUniqueIndexViolationAction()
This method returns the action taken by resource manager should
a unique index violation situation exist violation.
|
CommitRequest |
getCommitRequest()
This method returns the commit request of the resource container.
|
java.lang.String |
getConfigurationFile()
This method returns the configuration file associated with the container.
|
java.lang.Integer |
getIdentifier()
This method returns the numeric identifier of the resource container.
|
LockingPolicy |
getLockingPolicy()
This method returns the locking policy implementation.
|
ManagedResourceMetaData[] |
getManagedResources()
This method returns the managed resources of the resource container.
|
java.lang.String |
getName()
This method returns the name of the resource container.
|
OperationalResourceMetaData[] |
getOperationalResources()
This method returns the operational resources assigned to the resource container.
|
PublishRequest |
getPublishRequest()
This method returns the publish request operations of the container.
|
void |
setApproveForeignKeyViolationAction(java.lang.String action)
This method sets the action taken by the resource manager should
a foreign key violation situation exist during approval.
|
void |
setApproveUniqueIndexViolationAction(java.lang.String action)
This method sets the action taken by the resource manager should
a unique index violation situation exist during approval.
|
void |
setCheckUniqueIndexViolationAction(java.lang.String action)
This method sets the action taken by the resource manager should
a unique index violation situation exist during approval.
|
void |
setCommitRequest(CommitRequest commitRequest)
This method sets the commit request of the resource container.
|
void |
setConfigurationFile(java.lang.String configurationFile)
This method sets the configuration file to associate with the container.
|
void |
setIdentifier(java.lang.Integer identifier)
This method sets the numeric identifier of the resource container.
|
void |
setLockingPolicy(LockingPolicy lockingPolicy)
This method sets the locking policy implementation for the container.
|
void |
setName(java.lang.String name)
This method sets the name of the resource container.
|
void |
setPublishRequest(PublishRequest publishRequest)
This method sets the publish request metadata of the resource container.
|
java.lang.String |
toString()
This method returns a
String representation of the object for debugging purposes. |
public ResourceContainerMetaData()
public LockingPolicy getLockingPolicy()
public void setLockingPolicy(LockingPolicy lockingPolicy)
lockingPolicy
- The locking policy implementation.public void setCommitRequest(CommitRequest commitRequest)
commitRequest
- The commit request metadata.public CommitRequest getCommitRequest()
public void setPublishRequest(PublishRequest publishRequest)
publishRequest
- The publish request metadata.public PublishRequest getPublishRequest()
public void addManagedResource(ManagedResourceMetaData managedResourceMetaData)
managedResourceMetaData
- The managed resource.public ManagedResourceMetaData[] getManagedResources()
public void addOperationalResource(OperationalResourceMetaData operationResourceMetaData)
operationResourceMetaData
- An operational resource.public OperationalResourceMetaData[] getOperationalResources()
public java.lang.Integer getIdentifier()
public void setIdentifier(java.lang.Integer identifier)
identifier
- The identifier of the resource container.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The resource container name.public java.lang.String getConfigurationFile()
public void setConfigurationFile(java.lang.String configurationFile)
configurationFile
- The configuration file name.public java.lang.String getApproveUniqueIndexViolationAction()
public void setApproveUniqueIndexViolationAction(java.lang.String action)
action
- String value to indicate the action at approval time for the resource manager.public java.lang.String getCheckUniqueIndexViolationAction()
public void setCheckUniqueIndexViolationAction(java.lang.String action)
action
- String value to indicate the action at approval time for the resource manager.public java.lang.String getApproveForeignKeyViolationAction()
public void setApproveForeignKeyViolationAction(java.lang.String action)
action
- String value to indicate the action at approval time for the resource manager.public java.lang.String toString()
String
representation of the object for debugging purposes.toString
in class java.lang.Object
String
version of the object.