it.eng.spagobi.analiticalmodel.document.bo
Class ObjTemplate

java.lang.Object
  extended by it.eng.spagobi.analiticalmodel.document.bo.ObjTemplate
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
ObjTemplate()
           
 
Method Summary
 java.lang.Boolean getActive()
          Gets the active.
 java.lang.Integer getBinId()
          Gets the bin id.
 java.lang.Integer getBiobjId()
          Gets the biobj id.
 byte[] getContent()
          Tries to load binary content from database for this ObjTemplate instance, given its binary content identifier, if content field is null.
 java.util.Date getCreationDate()
          Gets the creation date.
 java.lang.String getCreationUser()
          Gets the creation user.
 java.lang.String getDimension()
          Gets the dimension.
 java.lang.Integer getId()
          Gets the id.
 java.lang.String getName()
          Gets the name.
 java.lang.Integer getProg()
          Gets the prog.
 void setActive(java.lang.Boolean activeP)
          Sets the active.
 void setBinId(java.lang.Integer binId)
          Sets the bin id.
 void setBiobjId(java.lang.Integer biobjId)
          Sets the biobj id.
 void setContent(byte[] content)
          Sets the content.
 void setCreationDate(java.util.Date creationDate)
          Sets the creation date.
 void setCreationUser(java.lang.String creationUser)
          Sets the creation user.
 void setDimension(java.lang.String dimension)
          Sets the dimension.
 void setId(java.lang.Integer id)
          Sets the id.
 void setName(java.lang.String name)
          Sets the name.
 void setProg(java.lang.Integer prog)
          Sets the prog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjTemplate

public ObjTemplate()
Method Detail

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

getProg

public java.lang.Integer getProg()
Gets the prog.

Returns:
the prog

setProg

public void setProg(java.lang.Integer prog)
Sets the prog.

Parameters:
prog - the new prog

getCreationDate

public java.util.Date getCreationDate()
Gets the creation date.

Returns:
the creation date

setCreationDate

public void setCreationDate(java.util.Date creationDate)
Sets the creation date.

Parameters:
creationDate - the new creation date

getActive

public java.lang.Boolean getActive()
Gets the active.

Returns:
the active

setActive

public void setActive(java.lang.Boolean activeP)
Sets the active.

Parameters:
activeP - the new active

getId

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

Returns:
the id

setId

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

Parameters:
id - the new id

getBiobjId

public java.lang.Integer getBiobjId()
Gets the biobj id.

Returns:
the biobj id

setBiobjId

public void setBiobjId(java.lang.Integer biobjId)
Sets the biobj id.

Parameters:
biobjId - the new biobj id

getBinId

public java.lang.Integer getBinId()
Gets the bin id.

Returns:
the bin id

setBinId

public void setBinId(java.lang.Integer binId)
Sets the bin id.

Parameters:
binId - the new bin id

getContent

public byte[] getContent()
                  throws it.eng.spago.error.EMFUserError,
                         it.eng.spago.error.EMFInternalError
Tries to load binary content from database for this ObjTemplate instance, given its binary content identifier, if content field is null.

Returns:
The binary content of this instance; if it is null, it tries to load it from database if binary content identifier is available
Throws:
it.eng.spago.error.EMFUserError - if some errors while reading from db occurs
it.eng.spago.error.EMFInternalError - if some errors while reading from db occurs

setContent

public void setContent(byte[] content)
Sets the content.

Parameters:
content - the new content

getDimension

public java.lang.String getDimension()
Gets the dimension.

Returns:
the dimension

setDimension

public void setDimension(java.lang.String dimension)
Sets the dimension.

Parameters:
dimension - the new dimension

getCreationUser

public java.lang.String getCreationUser()
Gets the creation user.

Returns:
the creation user

setCreationUser

public void setCreationUser(java.lang.String creationUser)
Sets the creation user.

Parameters:
creationUser - the new creation user