it.imolinfo.jbi4corba.webservice.generator
Class Param

java.lang.Object
  extended by it.imolinfo.jbi4corba.webservice.generator.Param

public class Param
extends Object

This class provides the object representation of a CORBA param. If the parameter is an Holder, this object mantains:

  • The original holder type (for example org.omg.CORBA.StringHolder)
  • The holder value type (for example java.lang.String)
  • The changed holder type (for example javax.xml.ws.Holder) as actual type.


    Constructor Summary
    Param()
              Default constructor.
     
    Method Summary
     boolean equals(Object obj)
               
     int getArrayDimension()
               
     Class getHolderType()
               
     Class getHolderValueType()
               
     String getName()
               
     Class getType()
               
     String getTypeName()
               
     boolean isArray()
               
     boolean isHolder()
               
     boolean isPrimitive()
               
     void setArray(boolean isArray)
               
     void setArrayDimension(int arrayDimension)
               
     void setHolder(boolean isHolder)
               
     void setHolderType(Class holderType)
               
     void setHolderValueType(Class holderValueType)
               
     void setName(String paramName)
               
     void setPrimitive(boolean isPrimitive)
               
     void setType(Class type)
               
     void setTypeName(String paramType)
               
     String toString()
               
     
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
     

    Constructor Detail

    Param

    public Param()
    Default constructor.

    Method Detail

    toString

    public String toString()
    Overrides:
    toString in class Object
    Returns:
    This object as String.

    equals

    public boolean equals(Object obj)
    Overrides:
    equals in class Object
    Parameters:
    obj - An object.
    Returns:
    true, if this object is equal to the obj parameter.

    getName

    public String getName()

    setName

    public void setName(String paramName)

    getTypeName

    public String getTypeName()

    setTypeName

    public void setTypeName(String paramType)

    isHolder

    public boolean isHolder()

    setHolder

    public void setHolder(boolean isHolder)

    getHolderType

    public Class getHolderType()

    setHolderType

    public void setHolderType(Class holderType)

    getHolderValueType

    public Class getHolderValueType()

    setHolderValueType

    public void setHolderValueType(Class holderValueType)

    getType

    public Class getType()

    setType

    public void setType(Class type)

    isArray

    public boolean isArray()

    setArray

    public void setArray(boolean isArray)

    getArrayDimension

    public int getArrayDimension()

    setArrayDimension

    public void setArrayDimension(int arrayDimension)

    isPrimitive

    public boolean isPrimitive()

    setPrimitive

    public void setPrimitive(boolean isPrimitive)


    Copyright © 2005-2010 Imola Informatica. All Rights Reserved.