Platform SDK Java 8.5 API Reference

com.genesyslab.platform.contacts.protocol.contactserver
Class Model

java.lang.Object
  extended by com.genesyslab.platform.commons.protocol.DataObject
      extended by com.genesyslab.platform.contacts.protocol.contactserver.AbstractPrintable
          extended by com.genesyslab.platform.contacts.protocol.contactserver.Model
All Implemented Interfaces:
Printable, XmlSerializable

public final class Model
extends AbstractPrintable
implements XmlSerializable, Printable


Field Summary
 
Fields inherited from class com.genesyslab.platform.contacts.protocol.contactserver.AbstractPrintable
SUPRESSED
 
Constructor Summary
Model()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 byte[] getAdvancedParams()
          More parameters as binary content
 java.lang.String getAppName()
          Name of the application (64 chars max)
 java.util.Date getCreationDate()
          Date of creation
 java.lang.String getEngine()
          Name of the engine (64 chars max)
 java.lang.Boolean getIsActive()
          True or false
 java.lang.String getLang()
          The language of this model (64 chars max)
 byte[] getModelContent()
          Binary content of the model
 java.lang.Integer getModelSize()
          Size of the model
 java.lang.String getParams()
          Model parameters (255 chars max)
 java.lang.Integer getPersonId()
          DBId of the person
 java.lang.String getRootName()
          Name of the root (255 chars max)
 java.util.Date getRunDate()
          Run date
 java.lang.Integer getRunDurationSec()
          Run duration
 java.lang.Integer getTenantId()
          Id of the tenant
 java.lang.String getTheId()
          Id of the object to be created (useful for imports)
 java.lang.String getTheName()
          Name of the model (255 chars max)
 java.lang.String getTrainingDataObjectId()
          Training Object Id
 int hashCode()
           
 void loadFromXml(UCSCustomCodec custCodec, org.w3c.dom.Node node)
           
 void saveToXml(UCSCustomCodec custCodec, org.w3c.dom.Node node)
           
 void setAdvancedParams(byte[] value)
          More parameters as binary content
 void setAppName(java.lang.String value)
          Name of the application (64 chars max)
 void setCreationDate(java.util.Date value)
          Date of creation
 void setEngine(java.lang.String value)
          Name of the engine (64 chars max)
 void setIsActive(java.lang.Boolean value)
          True or false
 void setLang(java.lang.String value)
          The language of this model (64 chars max)
 void setModelContent(byte[] value)
          Binary content of the model
 void setModelSize(java.lang.Integer value)
          Size of the model
 void setParams(java.lang.String value)
          Model parameters (255 chars max)
 void setPersonId(java.lang.Integer value)
          DBId of the person
 void setRootName(java.lang.String value)
          Name of the root (255 chars max)
 void setRunDate(java.util.Date value)
          Run date
 void setRunDurationSec(java.lang.Integer value)
          Run duration
 void setTenantId(java.lang.Integer value)
          Id of the tenant
 void setTheId(java.lang.String value)
          Id of the object to be created (useful for imports)
 void setTheName(java.lang.String value)
          Name of the model (255 chars max)
 void setTrainingDataObjectId(java.lang.String value)
          Training Object Id
 java.lang.String toString(int indent, boolean hideAllowed, boolean truncateLargeData)
           
 
Methods inherited from class com.genesyslab.platform.contacts.protocol.contactserver.AbstractPrintable
createIndent, toString, toString, toString, toString
 
Methods inherited from class com.genesyslab.platform.commons.protocol.DataObject
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.genesyslab.platform.contacts.protocol.contactserver.Printable
toString
 

Constructor Detail

Model

public Model()
Method Detail

getTheId

public java.lang.String getTheId()
Id of the object to be created (useful for imports)

Returns:
property value

setTheId

public void setTheId(java.lang.String value)
Id of the object to be created (useful for imports)


getTheName

public java.lang.String getTheName()
Name of the model (255 chars max)

Returns:
property value

setTheName

public void setTheName(java.lang.String value)
Name of the model (255 chars max)


getModelContent

public byte[] getModelContent()
Binary content of the model

Returns:
property value

setModelContent

public void setModelContent(byte[] value)
Binary content of the model


getCreationDate

public java.util.Date getCreationDate()
Date of creation

Returns:
property value

setCreationDate

public void setCreationDate(java.util.Date value)
Date of creation


getTrainingDataObjectId

public java.lang.String getTrainingDataObjectId()
Training Object Id

Returns:
property value

setTrainingDataObjectId

public void setTrainingDataObjectId(java.lang.String value)
Training Object Id


getIsActive

public java.lang.Boolean getIsActive()
True or false

Returns:
property value

setIsActive

public void setIsActive(java.lang.Boolean value)
True or false


getTenantId

public java.lang.Integer getTenantId()
Id of the tenant

Returns:
property value

setTenantId

public void setTenantId(java.lang.Integer value)
Id of the tenant


getLang

public java.lang.String getLang()
The language of this model (64 chars max)

Returns:
property value

setLang

public void setLang(java.lang.String value)
The language of this model (64 chars max)


getModelSize

public java.lang.Integer getModelSize()
Size of the model

Returns:
property value

setModelSize

public void setModelSize(java.lang.Integer value)
Size of the model


getRunDate

public java.util.Date getRunDate()
Run date

Returns:
property value

setRunDate

public void setRunDate(java.util.Date value)
Run date


getRunDurationSec

public java.lang.Integer getRunDurationSec()
Run duration

Returns:
property value

setRunDurationSec

public void setRunDurationSec(java.lang.Integer value)
Run duration


getAppName

public java.lang.String getAppName()
Name of the application (64 chars max)

Returns:
property value

setAppName

public void setAppName(java.lang.String value)
Name of the application (64 chars max)


getEngine

public java.lang.String getEngine()
Name of the engine (64 chars max)

Returns:
property value

setEngine

public void setEngine(java.lang.String value)
Name of the engine (64 chars max)


getPersonId

public java.lang.Integer getPersonId()
DBId of the person

Returns:
property value

setPersonId

public void setPersonId(java.lang.Integer value)
DBId of the person


getParams

public java.lang.String getParams()
Model parameters (255 chars max)

Returns:
property value

setParams

public void setParams(java.lang.String value)
Model parameters (255 chars max)


getRootName

public java.lang.String getRootName()
Name of the root (255 chars max)

Returns:
property value

setRootName

public void setRootName(java.lang.String value)
Name of the root (255 chars max)


getAdvancedParams

public byte[] getAdvancedParams()
More parameters as binary content

Returns:
property value

setAdvancedParams

public void setAdvancedParams(byte[] value)
More parameters as binary content


saveToXml

public void saveToXml(UCSCustomCodec custCodec,
                      org.w3c.dom.Node node)
               throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
saveToXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

loadFromXml

public void loadFromXml(UCSCustomCodec custCodec,
                        org.w3c.dom.Node node)
                 throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
loadFromXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

toString

public java.lang.String toString(int indent,
                                 boolean hideAllowed,
                                 boolean truncateLargeData)
Specified by:
toString in class AbstractPrintable

hashCode

public int hashCode()
Overrides:
hashCode in class DataObject

equals

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

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.