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

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.SjReferenceSpecificationPlain
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, SjReferenceSpecification

public class SjReferenceSpecificationPlain
extends TiAbstractMapData
implements SjReferenceSpecification

En struktur för ange en referens till en beställning istället för kundnummer. OBS! FirstName och LastName alternativt Telephone måste vara ifyllt. Detta styrs med affärsregler. Referensadress är optional och lagras i orderboken.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.stina.framework.core.model.TiAbstractMapData
TiAbstractMapData.TiMapDataComparator
 
Field Summary
 TiStringData emailAddress
           
 TiStringData firstName
           
 TiStringData lastName
           
 SjAddressPlain referenceAddress
           
 SjTelephonePlain telephone
           
 
Fields inherited from interface se.sj.stina.domain.model.SjReferenceSpecification
EMAIL_ADDRESS, FIRST_NAME, LAST_NAME, REFERENCE_ADDRESS, TELEPHONE
 
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
SjReferenceSpecificationPlain()
           
 
Method Summary
 TiStringInterface getEmailAddress()
          Field emailAddress is defined as optional.
 java.lang.String getEmailAddressValue()
          Field emailAddress is defined as optional.
 TiStringInterface getFirstName()
          Field firstName is defined as optional.
 java.lang.String getFirstNameValue()
          Field firstName is defined as optional.
 java.lang.String getGeneratedTiName()
           
 TiStringInterface getLastName()
          Field lastName is defined as optional.
 java.lang.String getLastNameValue()
          Field lastName is defined as optional.
 java.lang.String getRealTiName()
           
 SjAddress getReferenceAddress()
          Field referenceAddress is defined as optional.
 SjTelephone getTelephone()
          Field telephone is defined as optional.
 TiStringInterface lookupEmailAddress()
          Field emailAddress is defined as optional.
 TiStringInterface lookupFirstName()
          Field firstName is defined as optional.
 TiStringInterface lookupLastName()
          Field lastName is defined as optional.
 SjAddress lookupReferenceAddress()
          Field referenceAddress is defined as optional.
 SjTelephone lookupTelephone()
          Field telephone is defined as optional.
 void setEmailAddress(TiStringInterface inData)
          Field emailAddress is defined as optional.
 void setEmailAddressValue(java.lang.String inData)
          Field emailAddress is defined as optional.
 void setEmailAddressValue(java.lang.String inData, boolean inNotify)
          Field emailAddress is defined as optional.
 void setFirstName(TiStringInterface inData)
          Field firstName is defined as optional.
 void setFirstNameValue(java.lang.String inData)
          Field firstName is defined as optional.
 void setFirstNameValue(java.lang.String inData, boolean inNotify)
          Field firstName is defined as optional.
 void setLastName(TiStringInterface inData)
          Field lastName is defined as optional.
 void setLastNameValue(java.lang.String inData)
          Field lastName is defined as optional.
 void setLastNameValue(java.lang.String inData, boolean inNotify)
          Field lastName is defined as optional.
 void setReferenceAddress(SjAddress inData)
          Field referenceAddress is defined as optional.
 void setTelephone(SjTelephone inData)
          Field telephone 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

firstName

public TiStringData firstName

lastName

public TiStringData lastName

telephone

public SjTelephonePlain telephone

emailAddress

public TiStringData emailAddress

referenceAddress

public SjAddressPlain referenceAddress
Constructor Detail

SjReferenceSpecificationPlain

public SjReferenceSpecificationPlain()
Method Detail

getFirstName

public TiStringInterface getFirstName()
Field firstName is defined as optional.

Specified by:
getFirstName in interface SjReferenceSpecification

lookupFirstName

public TiStringInterface lookupFirstName()
Field firstName is defined as optional.

Specified by:
lookupFirstName in interface SjReferenceSpecification

setFirstName

public void setFirstName(TiStringInterface inData)
Field firstName is defined as optional.

Specified by:
setFirstName in interface SjReferenceSpecification

getFirstNameValue

public java.lang.String getFirstNameValue()
Field firstName is defined as optional.

Specified by:
getFirstNameValue in interface SjReferenceSpecification

setFirstNameValue

public void setFirstNameValue(java.lang.String inData)
Field firstName is defined as optional.

Specified by:
setFirstNameValue in interface SjReferenceSpecification

setFirstNameValue

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

Specified by:
setFirstNameValue in interface SjReferenceSpecification

getLastName

public TiStringInterface getLastName()
Field lastName is defined as optional.

Specified by:
getLastName in interface SjReferenceSpecification

lookupLastName

public TiStringInterface lookupLastName()
Field lastName is defined as optional.

Specified by:
lookupLastName in interface SjReferenceSpecification

setLastName

public void setLastName(TiStringInterface inData)
Field lastName is defined as optional.

Specified by:
setLastName in interface SjReferenceSpecification

getLastNameValue

public java.lang.String getLastNameValue()
Field lastName is defined as optional.

Specified by:
getLastNameValue in interface SjReferenceSpecification

setLastNameValue

public void setLastNameValue(java.lang.String inData)
Field lastName is defined as optional.

Specified by:
setLastNameValue in interface SjReferenceSpecification

setLastNameValue

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

Specified by:
setLastNameValue in interface SjReferenceSpecification

getTelephone

public SjTelephone getTelephone()
Field telephone is defined as optional.

Specified by:
getTelephone in interface SjReferenceSpecification

lookupTelephone

public SjTelephone lookupTelephone()
Field telephone is defined as optional.

Specified by:
lookupTelephone in interface SjReferenceSpecification

setTelephone

public void setTelephone(SjTelephone inData)
Field telephone is defined as optional.

Specified by:
setTelephone in interface SjReferenceSpecification

getEmailAddress

public TiStringInterface getEmailAddress()
Field emailAddress is defined as optional.

Specified by:
getEmailAddress in interface SjReferenceSpecification

lookupEmailAddress

public TiStringInterface lookupEmailAddress()
Field emailAddress is defined as optional.

Specified by:
lookupEmailAddress in interface SjReferenceSpecification

setEmailAddress

public void setEmailAddress(TiStringInterface inData)
Field emailAddress is defined as optional.

Specified by:
setEmailAddress in interface SjReferenceSpecification

getEmailAddressValue

public java.lang.String getEmailAddressValue()
Field emailAddress is defined as optional.

Specified by:
getEmailAddressValue in interface SjReferenceSpecification

setEmailAddressValue

public void setEmailAddressValue(java.lang.String inData)
Field emailAddress is defined as optional.

Specified by:
setEmailAddressValue in interface SjReferenceSpecification

setEmailAddressValue

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

Specified by:
setEmailAddressValue in interface SjReferenceSpecification

getReferenceAddress

public SjAddress getReferenceAddress()
Field referenceAddress is defined as optional.

Specified by:
getReferenceAddress in interface SjReferenceSpecification

lookupReferenceAddress

public SjAddress lookupReferenceAddress()
Field referenceAddress is defined as optional.

Specified by:
lookupReferenceAddress in interface SjReferenceSpecification

setReferenceAddress

public void setReferenceAddress(SjAddress inData)
Field referenceAddress is defined as optional.

Specified by:
setReferenceAddress in interface SjReferenceSpecification

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.