public abstract class ResourceMetaData
extends java.lang.Object
Constructor and Description |
---|
ResourceMetaData()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
CommitRequest |
getCommitRequest()
This method returns the commit request providing custom commit SQL statements for the resource.
|
ResourceContainerMetaData |
getContainerMetaData()
This method returns the resource container metadata of the container that
owns the resource.
|
java.lang.Boolean |
getDeleteUniqueIndexViolation()
This method returns whether or not the resource manager should delete the unique index violations.
|
java.lang.String |
getName()
This method returns the name of the resource.
|
java.lang.String |
getResource()
This method returns the physical resource.
|
java.lang.String |
getResourceClassName()
This method returns the resource class name that the resource represents.
|
boolean |
isManaged()
This method returns whether the resource should be managed.
|
void |
setCommitRequest(CommitRequest commitRequest)
This method sets the commit request providing custom commit SQL statements for the resource.
|
void |
setContainerMetaData(ResourceContainerMetaData resourceContainerMetaData)
This method sets the resource container metadata of the container that
owns the resource.
|
void |
setDeleteUniqueIndexViolation(java.lang.Boolean deleteUniqueIndexViolation)
This method sets whether or not the resource manager should delete the unique index violations.
|
void |
setManaged(boolean managed)
This method sets whether the resource is managed.
|
void |
setName(java.lang.String name)
This method sets the name of the resource.
|
void |
setResource(java.lang.String resource)
This method sets the physical resource.
|
void |
setResourceClassName(java.lang.String resourceClassName)
This method sets the class name of the resource.
|
java.lang.String |
toString()
This method returns a
String |
public ResourceMetaData()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name.public java.lang.String getResourceClassName()
public void setResourceClassName(java.lang.String resourceClassName)
resourceClassName
- The resource class name.public boolean isManaged()
public void setManaged(boolean managed)
managed
- Whether the resource should be managed.public java.lang.String getResource()
public void setResource(java.lang.String resource)
resource
- The physical resource.public ResourceContainerMetaData getContainerMetaData()
public void setContainerMetaData(ResourceContainerMetaData resourceContainerMetaData)
resourceContainerMetaData
- The resource container metadata.public void setCommitRequest(CommitRequest commitRequest)
commitRequest
- The commit request metadata.public CommitRequest getCommitRequest()
public java.lang.Boolean getDeleteUniqueIndexViolation()
public void setDeleteUniqueIndexViolation(java.lang.Boolean deleteUniqueIndexViolation)
deleteUniqueIndexViolation
- Whether or not the resource manager should delete.public java.lang.String toString()
String representation of the object.
toString
in class java.lang.Object
String version of the object.