Class ResourceReferenceMetaData

All Implemented Interfaces:
Serializable, Cloneable, IdMetaData, MappableMetaData

public class ResourceReferenceMetaData extends ResourceInjectionMetaDataWithDescriptions
ResourceReferenceMetaData.
Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
  • Constructor Details

    • ResourceReferenceMetaData

      public ResourceReferenceMetaData()
      Create a new ResourceReferenceMetaData.
  • Method Details

    • getResourceRefName

      public String getResourceRefName()
      Get the resourceRefName.
      Returns:
      the resourceRefName.
    • setResourceRefName

      public void setResourceRefName(String resourceRefName)
      Set the resourceRefName.
      Parameters:
      resourceRefName - the resourceRefName.
      Throws:
      IllegalArgumentException - for a null resourceRefName
    • getType

      public String getType()
      Get the type.
      Returns:
      the type.
    • setType

      public void setType(String type)
      Set the type.
      Parameters:
      type - the type.
      Throws:
      IllegalArgumentException - for a null type
    • getResAuth

      public ResourceAuthorityType getResAuth()
      Get the authority.
      Returns:
      the authority.
    • setResAuth

      public void setResAuth(ResourceAuthorityType authority)
      Set the authority.
      Parameters:
      authority - the authority.
      Throws:
      IllegalArgumentException - for a null authority
    • isContainerAuth

      public boolean isContainerAuth()
      Get the containerAuth.
      Returns:
      the containerAuth.
    • getResSharingScope

      public ResourceSharingScopeType getResSharingScope()
      Get the sharingScope.
      Returns:
      the sharingScope.
    • setResSharingScope

      public void setResSharingScope(ResourceSharingScopeType sharingScope)
      Set the sharingScope.
      Parameters:
      sharingScope - the sharingScope.
      Throws:
      IllegalArgumentException - for a null sharingScope
    • isShareable

      public boolean isShareable()
      Get the isShareable.
      Returns:
      the isShareable.
    • getResourceName

      public String getResourceName()
      Get the resourceName.
      Returns:
      the resourceName.
    • setResourceName

      public void setResourceName(String resourceName)
      Set the resourceName.
      Parameters:
      resourceName - the resourceName.
      Throws:
      IllegalArgumentException - for a null resourceName
    • getResUrl

      public String getResUrl()
      Get the resUrl.
      Returns:
      the resUrl.
    • setResUrl

      public void setResUrl(String resUrl)
      Set the resUrl.
      Parameters:
      resUrl - the resUrl.
      Throws:
      IllegalArgumentException - for a null resUrl
    • toString

      public String toString()
      Overrides:
      toString in class NamedMetaData