LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.info.misc
Class LyArgument

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

public class LyArgument
extends LyTag

This class is used to store an argument fo a control associated to a class or to a field. An argument is composed of a name and a value


Nested Class Summary
 
Nested classes/interfaces inherited from class leon.info.LyTag
LyTag.Model
 
Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyArgument(java.lang.String name, java.lang.Object value)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare two arguments by value.
 java.lang.String getName()
          Accessor for argument name.
 java.lang.Object getValue()
          Accessor for argument value.
 void setValue(java.lang.Object newValue)
          Sets argument value.
 
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

LyArgument

public LyArgument(java.lang.String name,
                  java.lang.Object value)
Constructor.

Method Detail

getName

public java.lang.String getName()
Accessor for argument name.

Returns:
Name of this argument.

getValue

public java.lang.Object getValue()
Accessor for argument value.

Returns:
Value of this argument.

setValue

public void setValue(java.lang.Object newValue)
Sets argument value.

Parameters:
value - Value of this argument.

equals

public boolean equals(java.lang.Object object)
Compare two arguments by value.

Overrides:
equals in class java.lang.Object
Parameters:
object - object to compare to
Returns:
true if equals by value

(c) January 2013 - W4 S.A.

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