se.sj.stina.domain.model.impl.plain
Class SjProtocolPlain

java.lang.Object
  extended by org.stina.framework.core.model.TiAbstractData
      extended by org.stina.framework.core.model.TiAbstractMapData
          extended by se.sj.stina.domain.model.impl.plain.SjProtocolPlain
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, TiCommonModelPartInterface, TiContainerModelPartInterface, TiGeneratedModelInterface, TiListModelPartInterface, TiMapModelInterface, TiMapModelPartInterface, TiMapPlainInterface, TiMapPropInterface, TiModelConstantsInterface, TiModelInterface, TiPrimitiveModelPartInterface, TiPropertyPartInterface, TiObserverInterface, TiSubjectInterface, TiModelComponentInterface, SjProtocol

public class SjProtocolPlain
extends TiAbstractMapData
implements SjProtocol

Information om protokoll och komprimering av data som skickas mellan klient och server.


Compressed - Anger om data komprimeras
Algorithm - Algoritm för komprimering
Encoding - Name of charset used for string to byte conversions
CachePolicy - Name of policy used for cache management

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.stina.framework.core.model.TiAbstractMapData
TiAbstractMapData.TiMapDataComparator
 
Field Summary
 TiStringData algorithm
           
 TiStringData cachePolicy
           
 TiBooleanData compressed
           
 TiStringData encoding
           
 
Fields inherited from interface se.sj.stina.domain.model.SjProtocol
ALGORITHM, CACHE_POLICY, COMPRESSED, ENCODING
 
Fields inherited from interface org.stina.framework.core.model.TiModelConstantsInterface
ACTIVATED_ELEMENT_PROPERTY, BACKGROUND_COLOR, BOOLEAN_LIST, BYTE_ARRAY_LIST, COLUMN_WIDTH, DEFAULT_VALUE, DISALLOWED_VALUES, DISPLAY_MODE_PROPERTY, EDITABLE, ENABLED, FALSE_MNEMONIC_KEY, FALSE_TEXT, FONT, FORCE_UPDATE, FOREGROUND_COLOR, HORIZONTAL_ALIGNMENT, INTEGER_LIST, LONG_LIST, LONG_LONG_LIST, MAX_VALUE, MIN_VALUE, MNEMONIC_KEY, NO_RESTORE_OF_FIELD, OBJECT_LIST, OBJECT_REFERENCE_LIST, PLAIN_TEXT, PLAIN_VALUES, POSSIBLE_VALUES, PROHIBIT_HTML_FILTER, ROW_HEIGHT, SELECTABLE, SELECTED_ELEMENT_PROPERTY, SELECTED_ELEMENTS, SELECTED_PROPERTY, STRING_LIST, TIBOOLEAN_FALSE, TIBOOLEAN_TRUE, TIINTEGER_0, TISTRING_EMPTY, TOOLTIP_TEXT, TRUE_MNEMONIC_KEY, TRUE_TEXT, VERTICAL_ALIGNMENT
 
Constructor Summary
SjProtocolPlain()
           
 
Method Summary
 TiStringInterface getAlgorithm()
          Field algorithm is defined as optional.
 java.lang.String getAlgorithmValue()
          Field algorithm is defined as optional.
 TiStringInterface getCachePolicy()
          Field cachePolicy is defined as optional.
 java.lang.String getCachePolicyValue()
          Field cachePolicy is defined as optional.
 TiBooleanInterface getCompressed()
          Field compressed is defined as mandatory.
 java.lang.Boolean getCompressedValue()
          Field compressed is defined as mandatory.
 TiStringInterface getEncoding()
          Field encoding is defined as optional.
 java.lang.String getEncodingValue()
          Field encoding is defined as optional.
 java.lang.String getGeneratedTiName()
           
 java.lang.String getRealTiName()
           
 TiStringInterface lookupAlgorithm()
          Field algorithm is defined as optional.
 TiStringInterface lookupCachePolicy()
          Field cachePolicy is defined as optional.
 TiBooleanInterface lookupCompressed()
          Field compressed is defined as mandatory.
 TiStringInterface lookupEncoding()
          Field encoding is defined as optional.
 void setAlgorithm(TiStringInterface inData)
          Field algorithm is defined as optional.
 void setAlgorithmValue(java.lang.String inData)
          Field algorithm is defined as optional.
 void setAlgorithmValue(java.lang.String inData, boolean inNotify)
          Field algorithm is defined as optional.
 void setCachePolicy(TiStringInterface inData)
          Field cachePolicy is defined as optional.
 void setCachePolicyValue(java.lang.String inData)
          Field cachePolicy is defined as optional.
 void setCachePolicyValue(java.lang.String inData, boolean inNotify)
          Field cachePolicy is defined as optional.
 void setCompressed(TiBooleanInterface inData)
          Field compressed is defined as mandatory.
 void setCompressedValue(java.lang.Boolean inData)
          Field compressed is defined as mandatory.
 void setCompressedValue(java.lang.Boolean inData, boolean inNotify)
          Field compressed is defined as mandatory.
 void setEncoding(TiStringInterface inData)
          Field encoding is defined as optional.
 void setEncodingValue(java.lang.String inData)
          Field encoding is defined as optional.
 void setEncodingValue(java.lang.String inData, boolean inNotify)
          Field encoding is defined as optional.
 
Methods inherited from class org.stina.framework.core.model.TiAbstractMapData
clear, clone, clone, disposeModel, equalsModel, getAssignedFieldNames, getComparator, getField, getFieldNames, getIndexForXorPart, getModel, getModelImpl, getValue, getXorNameForXorPart, getXorPart, getXorPartNames, hasField, importValue, importValue, isEmpty, lookupField, lookupFieldObject, lookupModel, lookupModelImpl, memberModel, setModel, setValue, setValue, specifyXors, toDebugString, toDebugString, updateXorIndex
 
Methods inherited from class org.stina.framework.core.model.TiAbstractData
addModelElement, addModelElement, addModelElements, addModelElements, attachObserver, compareTo, containsModelElement, createCloneInstance, detachObserver, getIncludeIfOptional, getIndexOf, getIndexOfEqualsModel, getIndexOfInstance, getLastIndexOf, getListSize, getModelElementAt, getModelElements, getObserverCount, getPropertiesDelegate, getProperty, getPropertyModel, getPropertyNames, hasProperties, insertModelElementAt, insertModelElementAt, isEnabled, isObserverAttached, isSizeField, lookupObservers, lookupObserversLock, moveModelElementOfInstance, moveModelElementOfInstance, notifyObservers, property, removeAllModelElements, removeAllModelElements, removeModelElement, removeModelElement, removeModelElementAt, removeModelElementAt, removeProperties, removeProperty, removeProperty, setEnabled, setEnabled, setIncludeIfOptional, setModelElementAt, setModelElementAt, setModelElements, setModelElements, setProperty, setProperty, setUpdateXorFieldEnabled, sizeOfList, specifyProperties, update, update, updateObserver
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.stina.framework.core.model.TiMapPlainInterface
clear, getAssignedFieldNames, getComparator, getFieldNames, getModelImpl, getXorNameForXorPart, getXorPartNames, hasField, isEmpty, lookupFieldObject, lookupModelImpl, toDebugString
 
Methods inherited from interface org.stina.framework.core.model.TiMapModelPartInterface
getIncludeIfOptional, getIndexForXorPart, lookupModel, setIncludeIfOptional, setUpdateXorFieldEnabled
 
Methods inherited from interface org.stina.framework.core.model.TiContainerModelPartInterface
getModel, setModel
 
Methods inherited from interface org.stina.framework.core.model.TiCommonModelPartInterface
clone, disposeModel, equalsModel, getValue, importValue, importValue, setValue, setValue, toDebugString, update, update
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.stina.framework.core.model.TiPropertyPartInterface
getProperty, getPropertyModel, getPropertyNames, isEnabled, removeProperties, removeProperty, removeProperty, setEnabled, setEnabled, setProperty, setProperty, specifyProperties
 
Methods inherited from interface org.stina.framework.support.observer.TiObserverInterface
updateObserver
 
Methods inherited from interface org.stina.framework.core.model.TiListModelPartInterface
addModelElement, addModelElement, addModelElements, addModelElements, containsModelElement, getIndexOf, getIndexOfEqualsModel, getIndexOfInstance, getLastIndexOf, getListSize, getModelElementAt, getModelElements, insertModelElementAt, insertModelElementAt, moveModelElementOfInstance, moveModelElementOfInstance, removeAllModelElements, removeAllModelElements, removeModelElement, removeModelElement, removeModelElementAt, removeModelElementAt, setModelElementAt, setModelElementAt, setModelElements, setModelElements
 
Methods inherited from interface org.stina.framework.support.observer.TiSubjectInterface
attachObserver, clone, detachObserver, getObserverCount, isObserverAttached, lookupObservers, lookupObserversLock, notifyObservers, toDebugString
 
Methods inherited from interface org.stina.framework.support.util.TiModelComponentInterface
property
 

Field Detail

compressed

public TiBooleanData compressed

algorithm

public TiStringData algorithm

encoding

public TiStringData encoding

cachePolicy

public TiStringData cachePolicy
Constructor Detail

SjProtocolPlain

public SjProtocolPlain()
Method Detail

getCompressed

public TiBooleanInterface getCompressed()
Field compressed is defined as mandatory.

Specified by:
getCompressed in interface SjProtocol

lookupCompressed

public TiBooleanInterface lookupCompressed()
Field compressed is defined as mandatory.

Specified by:
lookupCompressed in interface SjProtocol

setCompressed

public void setCompressed(TiBooleanInterface inData)
Field compressed is defined as mandatory.

Specified by:
setCompressed in interface SjProtocol

getCompressedValue

public java.lang.Boolean getCompressedValue()
Field compressed is defined as mandatory.

Specified by:
getCompressedValue in interface SjProtocol

setCompressedValue

public void setCompressedValue(java.lang.Boolean inData)
Field compressed is defined as mandatory.

Specified by:
setCompressedValue in interface SjProtocol

setCompressedValue

public void setCompressedValue(java.lang.Boolean inData,
                               boolean inNotify)
Field compressed is defined as mandatory.

Specified by:
setCompressedValue in interface SjProtocol

getAlgorithm

public TiStringInterface getAlgorithm()
Field algorithm is defined as optional.

Specified by:
getAlgorithm in interface SjProtocol

lookupAlgorithm

public TiStringInterface lookupAlgorithm()
Field algorithm is defined as optional.

Specified by:
lookupAlgorithm in interface SjProtocol

setAlgorithm

public void setAlgorithm(TiStringInterface inData)
Field algorithm is defined as optional.

Specified by:
setAlgorithm in interface SjProtocol

getAlgorithmValue

public java.lang.String getAlgorithmValue()
Field algorithm is defined as optional.

Specified by:
getAlgorithmValue in interface SjProtocol

setAlgorithmValue

public void setAlgorithmValue(java.lang.String inData)
Field algorithm is defined as optional.

Specified by:
setAlgorithmValue in interface SjProtocol

setAlgorithmValue

public void setAlgorithmValue(java.lang.String inData,
                              boolean inNotify)
Field algorithm is defined as optional.

Specified by:
setAlgorithmValue in interface SjProtocol

getEncoding

public TiStringInterface getEncoding()
Field encoding is defined as optional.

Specified by:
getEncoding in interface SjProtocol

lookupEncoding

public TiStringInterface lookupEncoding()
Field encoding is defined as optional.

Specified by:
lookupEncoding in interface SjProtocol

setEncoding

public void setEncoding(TiStringInterface inData)
Field encoding is defined as optional.

Specified by:
setEncoding in interface SjProtocol

getEncodingValue

public java.lang.String getEncodingValue()
Field encoding is defined as optional.

Specified by:
getEncodingValue in interface SjProtocol

setEncodingValue

public void setEncodingValue(java.lang.String inData)
Field encoding is defined as optional.

Specified by:
setEncodingValue in interface SjProtocol

setEncodingValue

public void setEncodingValue(java.lang.String inData,
                             boolean inNotify)
Field encoding is defined as optional.

Specified by:
setEncodingValue in interface SjProtocol

getCachePolicy

public TiStringInterface getCachePolicy()
Field cachePolicy is defined as optional.

Specified by:
getCachePolicy in interface SjProtocol

lookupCachePolicy

public TiStringInterface lookupCachePolicy()
Field cachePolicy is defined as optional.

Specified by:
lookupCachePolicy in interface SjProtocol

setCachePolicy

public void setCachePolicy(TiStringInterface inData)
Field cachePolicy is defined as optional.

Specified by:
setCachePolicy in interface SjProtocol

getCachePolicyValue

public java.lang.String getCachePolicyValue()
Field cachePolicy is defined as optional.

Specified by:
getCachePolicyValue in interface SjProtocol

setCachePolicyValue

public void setCachePolicyValue(java.lang.String inData)
Field cachePolicy is defined as optional.

Specified by:
setCachePolicyValue in interface SjProtocol

setCachePolicyValue

public void setCachePolicyValue(java.lang.String inData,
                                boolean inNotify)
Field cachePolicy is defined as optional.

Specified by:
setCachePolicyValue in interface SjProtocol

getRealTiName

public java.lang.String getRealTiName()
Specified by:
getRealTiName in interface TiCommonModelPartInterface
Overrides:
getRealTiName in class TiAbstractData

getGeneratedTiName

public java.lang.String getGeneratedTiName()
Specified by:
getGeneratedTiName in interface TiCommonModelPartInterface
Overrides:
getGeneratedTiName in class TiAbstractData


Copyright © 2012. All Rights Reserved.