fr.cnes.sitools.util
Class Property

java.lang.Object
  extended by fr.cnes.sitools.util.Property
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SitoolsProperty

public class Property
extends java.lang.Object
implements java.io.Serializable

Basic Key Value Class

Author:
d.arpin (AKKA Technologies)
See Also:
Serialized Form

Constructor Summary
Property()
          Basic Constructor
Property(java.lang.String newName, java.lang.String newValue, java.lang.String newScope)
          Complete Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          Gets the name value
 java.lang.String getScope()
          Gets the scope value
 java.lang.String getValue()
          Gets the value value
 int hashCode()
           
 void setName(java.lang.String name)
          Sets the value of name
 void setScope(java.lang.String scope)
          Sets the value of scope
 void setValue(java.lang.String value)
          Sets the value of value
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property()
Basic Constructor


Property

public Property(java.lang.String newName,
                java.lang.String newValue,
                java.lang.String newScope)
Complete Constructor

Parameters:
newName - name
newValue - value
newScope - new scope
Method Detail

getName

public java.lang.String getName()
Gets the name value

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the value of name

Parameters:
name - the name to set

getValue

public java.lang.String getValue()
Gets the value value

Returns:
the value

setValue

public void setValue(java.lang.String value)
Sets the value of value

Parameters:
value - the value to set

getScope

public java.lang.String getScope()
Gets the scope value

Returns:
the scope

setScope

public void setScope(java.lang.String scope)
Sets the value of scope

Parameters:
scope - the scope to set

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010-2013 CNES. All Rights Reserved.