org.ow2.util.ee.metadata.common.api.struct
Interface IJAnnotationResource

All Superinterfaces:
Serializable

public interface IJAnnotationResource
extends Serializable

Manages Resource annotation.

Author:
Florent BENOIT

Method Summary
 javax.annotation.Resource.AuthenticationType getAuthenticationType()
           
 String getDescription()
           
 String getLookup()
           
 String getMappedName()
           
 String getMessageDestinationLink()
           
 String getName()
           
 String getType()
           
 boolean isShareable()
           
 void setAuthenticationType(javax.annotation.Resource.AuthenticationType authenticationType)
          Sets the authentication type.
 void setDescription(String description)
          Sets the description.
 void setLookup(String lookup)
          Sets the lookup.
 void setMappedName(String mappedName)
          Sets mapped Name.
 void setMessageDestinationLink(String messageDestinationLink)
          Sets the message destination link.
 void setName(String name)
          Sets Name (resource to be looked up).
 void setShareable(boolean shareable)
          Sets the shareable attribute (false/true).
 void setType(String type)
          Sets the class type of this object.
 

Method Detail

getName

String getName()
Returns:
Name (resource to be looked up).

setName

void setName(String name)
Sets Name (resource to be looked up).

Parameters:
name - the given name.

getAuthenticationType

javax.annotation.Resource.AuthenticationType getAuthenticationType()
Returns:
the authentication type.

setAuthenticationType

void setAuthenticationType(javax.annotation.Resource.AuthenticationType authenticationType)
Sets the authentication type.

Parameters:
authenticationType - value to set.

getDescription

String getDescription()
Returns:
the description.

setDescription

void setDescription(String description)
Sets the description.

Parameters:
description - value to set.

getLookup

String getLookup()
Returns:
the lookup name.

setLookup

void setLookup(String lookup)
Sets the lookup.

Parameters:
lookup - name to lookup.

isShareable

boolean isShareable()
Returns:
true if it is shareable.

setShareable

void setShareable(boolean shareable)
Sets the shareable attribute (false/true).

Parameters:
shareable - a boolean.

getType

String getType()
Returns:
the type of resource (class).

setType

void setType(String type)
Sets the class type of this object.

Parameters:
type - the class value (as string format).

getMappedName

String getMappedName()
Returns:
MappedName.

setMappedName

void setMappedName(String mappedName)
Sets mapped Name.

Parameters:
mappedName - the given mappedName.

getMessageDestinationLink

String getMessageDestinationLink()
Returns:
the message-Destination-Link.

setMessageDestinationLink

void setMessageDestinationLink(String messageDestinationLink)
Sets the message destination link.

Parameters:
messageDestinationLink - the link value


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.