LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.info.misc
Class LyParameterDecl

java.lang.Object
  extended by leon.info.LyTag
      extended by leon.info.misc.LyParameterDecl
All Implemented Interfaces:
java.lang.Cloneable

public class LyParameterDecl
extends LyTag

This class is used to store parameter declaration on action A declaration is composed of a name a type (see leon.dtd) a valueclass (corresponding to the type) It can be optional or not.


Nested Class Summary
static class LyParameterDecl.Type
          Parameter types.
 
Nested classes/interfaces inherited from class leon.info.LyTag
LyTag.Model
 
Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyParameterDecl(java.lang.String name)
          Default constructor.
LyParameterDecl(java.lang.String name, LyParameterDecl.Type type, boolean required, java.lang.String domain)
          Constructor.
 
Method Summary
 boolean equals(LyParameterDecl decl)
          Check if this parameter declaration is equal to the given one.
 boolean equals(java.lang.Object decl)
          Check if this parameter declaration is equal to the given one.
 java.lang.String getDomain()
          Gets domain.
 java.lang.String getName()
          Accessor for Name.
 LyParameterDecl.Type getType()
          Accessor for Type.
 java.lang.Class<?> getValueClass()
          Gets value class.
 boolean isRequired()
          Accessor for required.
 
Methods inherited from class leon.info.LyTag
clone, getApplication, getCommentsEnd, getCommentsStart, getEnvironment, getId, getModelType, getParent, getRootProject, hasAncestor, isExtern, setCommentsEnd, setCommentsStart, wasCloned
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyParameterDecl

public LyParameterDecl(java.lang.String name)
Default constructor.


LyParameterDecl

public LyParameterDecl(java.lang.String name,
                       LyParameterDecl.Type type,
                       boolean required,
                       java.lang.String domain)
Constructor.

Method Detail

getName

public java.lang.String getName()
Accessor for Name.


getType

public LyParameterDecl.Type getType()
Accessor for Type.


isRequired

public boolean isRequired()
Accessor for required.


getValueClass

public java.lang.Class<?> getValueClass()
Gets value class.


getDomain

public java.lang.String getDomain()
Gets domain.


equals

public boolean equals(java.lang.Object decl)
Check if this parameter declaration is equal to the given one.

Overrides:
equals in class java.lang.Object

equals

public boolean equals(LyParameterDecl decl)
Check if this parameter declaration is equal to the given one.


(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com