it.eng.spagobi.services.content.bo
Class Content

java.lang.Object
  extended by it.eng.spagobi.services.content.bo.Content
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
Content()
          Instantiates a new content.
Content(java.lang.String content, java.lang.String fileName)
          Instantiates a new content.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getContent()
          Gets the content value for this Content.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer.
 java.lang.String getFileName()
          Gets the fileName value for this Content.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object.
 int hashCode()
           
 void setContent(java.lang.String content)
          Sets the content value for this Content.
 void setFileName(java.lang.String fileName)
          Sets the fileName value for this Content.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content

public Content()
Instantiates a new content.


Content

public Content(java.lang.String content,
               java.lang.String fileName)
Instantiates a new content.

Parameters:
content - the content
fileName - the file name
Method Detail

getContent

public java.lang.String getContent()
Gets the content value for this Content.

Returns:
content

setContent

public void setContent(java.lang.String content)
Sets the content value for this Content.

Parameters:
content - the content

getFileName

public java.lang.String getFileName()
Gets the fileName value for this Content.

Returns:
fileName

setFileName

public void setFileName(java.lang.String fileName)
Sets the fileName value for this Content.

Parameters:
fileName - the file name

equals

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

hashCode

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

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object.

Returns:
the type desc

getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer.

Parameters:
mechType - the mech type
_javaType - the _java type
_xmlType - the _xml type
Returns:
the serializer

getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer.

Parameters:
mechType - the mech type
_javaType - the _java type
_xmlType - the _xml type
Returns:
the deserializer