JBoss Metadata Common 7.0.1.Final

org.jboss.metadata.javaee.spec
Class ResourceReferenceMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.NamedMetaData
          extended by org.jboss.metadata.javaee.spec.ResourceInjectionMetaData
              extended by org.jboss.metadata.javaee.support.ResourceInjectionMetaDataWithDescriptions
                  extended by org.jboss.metadata.javaee.spec.ResourceReferenceMetaData
All Implemented Interfaces:
Serializable, Cloneable, IdMetaData, MappableMetaData

public class ResourceReferenceMetaData
extends ResourceInjectionMetaDataWithDescriptions

ResourceReferenceMetaData.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
ResourceReferenceMetaData()
          Create a new ResourceReferenceMetaData.
 
Method Summary
 ResourceAuthorityType getResAuth()
          Get the authority.
 String getResourceName()
          Get the resourceName.
 String getResourceRefName()
          Get the resourceRefName.
 ResourceSharingScopeType getResSharingScope()
          Get the sharingScope.
 String getResUrl()
          Get the resUrl.
 String getType()
          Get the type.
 boolean isContainerAuth()
          Get the containerAuth.
 boolean isShareable()
          Get the isShareable.
 void setResAuth(ResourceAuthorityType authority)
          Set the authority.
 void setResourceName(String resourceName)
          Set the resourceName.
 void setResourceRefName(String resourceRefName)
          Set the resourceRefName.
 void setResSharingScope(ResourceSharingScopeType sharingScope)
          Set the sharingScope.
 void setResUrl(String resUrl)
          Set the resUrl.
 void setType(String type)
          Set the type.
 String toString()
           
 
Methods inherited from class org.jboss.metadata.javaee.support.ResourceInjectionMetaDataWithDescriptions
getDescriptions, setDescriptions
 
Methods inherited from class org.jboss.metadata.javaee.spec.ResourceInjectionMetaData
getIgnoreDependency, getInjectionTargets, getJndiName, getLookupName, getMappedName, getName, getResolvedJndiName, isDependencyIgnored, setIgnoreDependency, setInjectionTargets, setJndiName, setLookupName, setMappedName, setResolvedJndiName
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaData
equals, getKey, hashCode, setName
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, getId, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceReferenceMetaData

public ResourceReferenceMetaData()
Create a new ResourceReferenceMetaData.

Method Detail

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

JBoss Metadata Common 7.0.1.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.