fr.cnes.sitools.properties.model
Class SitoolsProperty

java.lang.Object
  extended by fr.cnes.sitools.util.Property
      extended by fr.cnes.sitools.properties.model.SitoolsProperty
All Implemented Interfaces:
java.io.Serializable

public class SitoolsProperty
extends Property

Model object to store a Property but specific to a DataSet. It adds a type attribute of type DataSetPropertyType

Author:
m.gond
See Also:
Serialized Form

Constructor Summary
SitoolsProperty()
          Default constuctor
SitoolsProperty(java.lang.String newName, java.lang.String newValue, java.lang.String newScope, SitoolsPropertyType newType)
          Constructor with name, value, scope and type attributes
 
Method Summary
 SitoolsPropertyType getType()
          Gets the type value
 void setType(SitoolsPropertyType type)
          Sets the value of type
 
Methods inherited from class fr.cnes.sitools.util.Property
equals, getName, getScope, getValue, hashCode, setName, setScope, setValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitoolsProperty

public SitoolsProperty()
Default constuctor


SitoolsProperty

public SitoolsProperty(java.lang.String newName,
                       java.lang.String newValue,
                       java.lang.String newScope,
                       SitoolsPropertyType newType)
Constructor with name, value, scope and type attributes

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

setType

public void setType(SitoolsPropertyType type)
Sets the value of type

Parameters:
type - the type to set

getType

public SitoolsPropertyType getType()
Gets the type value

Returns:
the type


Copyright © 2010-2013 CNES. All Rights Reserved.