com.ibm.commerce.context.content.resources.metadata

Class ResourceMetaData

  • java.lang.Object
    • com.ibm.commerce.context.content.resources.metadata.ResourceMetaData
    • Constructor Summary

      Constructors 
      Constructor and Description
      ResourceMetaData()
      This is the default constructor for this class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 representation of the object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ResourceMetaData

        public ResourceMetaData()
        This is the default constructor for this class. It calls the constructor from the superclass.
    • Method Detail

      • getName

        public java.lang.String getName()
        This method returns the name of the resource.
        Returns:
        The name of the resource.
      • setName

        public void setName(java.lang.String name)
        This method sets the name of the resource.
        Parameters:
        name - The name.
      • getResourceClassName

        public java.lang.String getResourceClassName()
        This method returns the resource class name that the resource represents.
        Returns:
        The resource class name.
      • setResourceClassName

        public void setResourceClassName(java.lang.String resourceClassName)
        This method sets the class name of the resource.
        Parameters:
        resourceClassName - The resource class name.
      • isManaged

        public boolean isManaged()
        This method returns whether the resource should be managed.
        Returns:
        Whether the resource is managed.
      • setManaged

        public void setManaged(boolean managed)
        This method sets whether the resource is managed.
        Parameters:
        managed - Whether the resource should be managed.
      • getResource

        public java.lang.String getResource()
        This method returns the physical resource.
        Returns:
        The physical resource.
      • setResource

        public void setResource(java.lang.String resource)
        This method sets the physical resource.
        Parameters:
        resource - The physical resource.
      • getContainerMetaData

        public ResourceContainerMetaData getContainerMetaData()
        This method returns the resource container metadata of the container that owns the resource.
        Returns:
        The resource container metadata.
      • setContainerMetaData

        public void setContainerMetaData(ResourceContainerMetaData resourceContainerMetaData)
        This method sets the resource container metadata of the container that owns the resource.
        Parameters:
        resourceContainerMetaData - The resource container metadata.
      • setCommitRequest

        public void setCommitRequest(CommitRequest commitRequest)
        This method sets the commit request providing custom commit SQL statements for the resource.
        Parameters:
        commitRequest - The commit request metadata.
      • getCommitRequest

        public CommitRequest getCommitRequest()
        This method returns the commit request providing custom commit SQL statements for the resource.
        Returns:
        The commit request metadata.
      • getDeleteUniqueIndexViolation

        public java.lang.Boolean getDeleteUniqueIndexViolation()
        This method returns whether or not the resource manager should delete the unique index violations.
        Returns:
        Whether or not the resource manager should delete.
      • setDeleteUniqueIndexViolation

        public void setDeleteUniqueIndexViolation(java.lang.Boolean deleteUniqueIndexViolation)
        This method sets whether or not the resource manager should delete the unique index violations.
        Parameters:
        deleteUniqueIndexViolation - Whether or not the resource manager should delete.
      • toString

        public java.lang.String toString()
        This method returns a String representation of the object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A readable String version of the object.