LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.info.misc
Class LyActionResource

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

public class LyActionResource
extends LyTag

This class is used to store resource on action A resource is composed of a key (equivalent to a key in a properties file) a type (RESOURCE, STRING, MESSAGE, COLOR, FONT, FILE, IMAGE) 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
LyActionResource(LyEnvironment.ResourceType type, java.lang.String key, java.lang.String value)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object resource)
          Check if this resource is equal to the given one.
 java.lang.String getKey()
          Accessor for key.
 LyEnvironment.ResourceType getType()
          Accessor for type.
 java.lang.String getValue()
          Accessor for value.
 java.lang.String toString()
          Return a string corresponding to this resource.
 
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, wait, wait, wait
 

Field Detail

__VERSION

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

LyActionResource

public LyActionResource(LyEnvironment.ResourceType type,
                        java.lang.String key,
                        java.lang.String value)
Constructor.

Method Detail

getType

public LyEnvironment.ResourceType getType()
Accessor for type.


getKey

public java.lang.String getKey()
Accessor for key.


getValue

public java.lang.String getValue()
Accessor for value.


toString

public java.lang.String toString()
Return a string corresponding to this resource.

Overrides:
toString in class java.lang.Object
Returns:
a string representing this value

equals

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

Overrides:
equals in class java.lang.Object

(c) January 2013 - W4 S.A.

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