org.gcube.contentmanagement.viewmanager.stubs.model
Class ViewProperty

java.lang.Object
  extended by org.gcube.contentmanagement.viewmanager.stubs.model.ViewProperty
All Implemented Interfaces:
java.io.Serializable

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

A view property.

Author:
Fabio Simeoni (University of Strathclyde)
See Also:
Serialized Form

Constructor Summary
ViewProperty()
           
ViewProperty(javax.xml.namespace.QName name, java.lang.String description, java.lang.String value)
          Creates a new ViewProperty.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDescription()
          Returns the description of the property.
 javax.xml.namespace.QName getName()
          Returns the name of the property.
 java.lang.String getValue()
          Returns the value of the property.
 int hashCode()
           
 void setDescription(java.lang.String description)
          Sets the description of the property.
 void setName(javax.xml.namespace.QName name)
          Sets the name of the property.
 void setValue(java.lang.String value)
          Sets the value of the property.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewProperty

public ViewProperty()

ViewProperty

public ViewProperty(javax.xml.namespace.QName name,
                    java.lang.String description,
                    java.lang.String value)
Creates a new ViewProperty.

Parameters:
name - the name of the property.
description - the description of the property.
value - the value of the property.
Method Detail

getName

public javax.xml.namespace.QName getName()
Returns the name of the property.

Returns:
the name.

setName

public void setName(javax.xml.namespace.QName name)
Sets the name of the property.

Parameters:
name - the name.

getDescription

public java.lang.String getDescription()
Returns the description of the property.

Returns:
the description.

setDescription

public void setDescription(java.lang.String description)
Sets the description of the property.

Parameters:
the - description.

getValue

public java.lang.String getValue()
Returns the value of the property.

Returns:
the value.

setValue

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

Parameters:
value - the value.

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