org.ow2.jonas.deployment.api
Interface IEnvEntryDesc

All Known Implementing Classes:
EnvEntryDesc

public interface IEnvEntryDesc

This interface represents the description of an EnvEntry object.

Author:
Philippe Durieux

Method Summary
 String getName()
          Get the name of the environemt entry.
 Class getType()
          Get the fully-qualified Java type of the environemt entry.
 Object getValue()
          Get the value of the environment entry.
 boolean hasValue()
          Assessor for existence of value for the descriptor.
 

Method Detail

getName

String getName()
Get the name of the environemt entry.

Returns:
Name for environment entry

getType

Class getType()
Get the fully-qualified Java type of the environemt entry. Type is needed since value is optional The possibles values are: java.lang.Boolean java.lang.Character java.lang.String java.lang.Integer java.lang.Double java.lang.Byte java.lang.Short java.lang.Long java.lang.Float

Returns:
Class the fully-qualified Java type of the environemt entry.

hasValue

boolean hasValue()
Assessor for existence of value for the descriptor.

Returns:
true if a value is available

getValue

Object getValue()
Get the value of the environment entry.

Returns:
value for the environment entry (must be set)


Copyright © 2010 OW2 Consortium. All Rights Reserved.