it.eng.spagobi.tools.importexport.bo
Class AssociationFile

java.lang.Object
  extended by it.eng.spagobi.tools.importexport.bo.AssociationFile

public class AssociationFile
extends java.lang.Object


Constructor Summary
AssociationFile()
           
 
Method Summary
 long getDateCreation()
          Gets the date creation.
 java.lang.String getDescription()
          Gets the description.
 java.lang.String getId()
          Gets the id.
 java.lang.String getName()
          Gets the name.
static boolean isValidContent(byte[] bytes)
          Checks if is valid content.
static boolean isValidContent(java.io.FileInputStream fis)
          Checks if is valid content.
static boolean isValidContent(java.lang.String xmlStr)
          Checks if is valid content.
 void setDateCreation(long dateCreation)
          Sets the date creation.
 void setDescription(java.lang.String description)
          Sets the description.
 void setId(java.lang.String id)
          Sets the id.
 void setName(java.lang.String name)
          Sets the name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationFile

public AssociationFile()
Method Detail

getDateCreation

public long getDateCreation()
Gets the date creation.

Returns:
the date creation

setDateCreation

public void setDateCreation(long dateCreation)
Sets the date creation.

Parameters:
dateCreation - the new date creation

getDescription

public java.lang.String getDescription()
Gets the description.

Returns:
the description

setDescription

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

Parameters:
description - the new description

getName

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

Returns:
the name

setName

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

Parameters:
name - the new name

getId

public java.lang.String getId()
Gets the id.

Returns:
the id

setId

public void setId(java.lang.String id)
Sets the id.

Parameters:
id - the new id

isValidContent

public static boolean isValidContent(java.lang.String xmlStr)
Checks if is valid content.

Parameters:
xmlStr - the xml str
Returns:
true, if is valid content

isValidContent

public static boolean isValidContent(byte[] bytes)
Checks if is valid content.

Parameters:
bytes - the bytes
Returns:
true, if is valid content

isValidContent

public static boolean isValidContent(java.io.FileInputStream fis)
Checks if is valid content.

Parameters:
fis - the fis
Returns:
true, if is valid content