se.sj.stina.domain.model
Interface SjReferenceSpecification

All Superinterfaces:
java.lang.Cloneable, java.lang.Comparable, java.io.Serializable, TiCommonModelPartInterface, TiContainerModelPartInterface, TiGeneratedModelInterface, TiListModelPartInterface, TiMapModelInterface, TiMapModelPartInterface, TiMapPlainInterface, TiMapPropInterface, TiModelConstantsInterface, TiModelInterface, TiObserverInterface, TiPrimitiveModelPartInterface, TiPropertyPartInterface, TiSubjectInterface
All Known Implementing Classes:
SjReferenceSpecificationPlain, SjReferenceSpecificationStandard

public interface SjReferenceSpecification
extends TiMapModelInterface, TiModelInterface, TiGeneratedModelInterface

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.


Field Summary
static java.lang.String EMAIL_ADDRESS
           
static java.lang.String FIRST_NAME
           
static java.lang.String LAST_NAME
           
static java.lang.String REFERENCE_ADDRESS
           
static java.lang.String 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
 
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.
 TiStringInterface getLastName()
          Field lastName is defined as optional.
 java.lang.String getLastNameValue()
          Field lastName is defined as optional.
 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 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, getGeneratedTiName, getRealTiName, 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
 

Field Detail

FIRST_NAME

static final java.lang.String FIRST_NAME
See Also:
Constant Field Values

LAST_NAME

static final java.lang.String LAST_NAME
See Also:
Constant Field Values

TELEPHONE

static final java.lang.String TELEPHONE
See Also:
Constant Field Values

EMAIL_ADDRESS

static final java.lang.String EMAIL_ADDRESS
See Also:
Constant Field Values

REFERENCE_ADDRESS

static final java.lang.String REFERENCE_ADDRESS
See Also:
Constant Field Values
Method Detail

getFirstName

TiStringInterface getFirstName()
Field firstName is defined as optional.


lookupFirstName

TiStringInterface lookupFirstName()
Field firstName is defined as optional.


setFirstName

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


getFirstNameValue

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


setFirstNameValue

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


setFirstNameValue

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


getLastName

TiStringInterface getLastName()
Field lastName is defined as optional.


lookupLastName

TiStringInterface lookupLastName()
Field lastName is defined as optional.


setLastName

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


getLastNameValue

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


setLastNameValue

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


setLastNameValue

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


getTelephone

SjTelephone getTelephone()
Field telephone is defined as optional.


lookupTelephone

SjTelephone lookupTelephone()
Field telephone is defined as optional.


setTelephone

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


getEmailAddress

TiStringInterface getEmailAddress()
Field emailAddress is defined as optional.


lookupEmailAddress

TiStringInterface lookupEmailAddress()
Field emailAddress is defined as optional.


setEmailAddress

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


getEmailAddressValue

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


setEmailAddressValue

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


setEmailAddressValue

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


getReferenceAddress

SjAddress getReferenceAddress()
Field referenceAddress is defined as optional.


lookupReferenceAddress

SjAddress lookupReferenceAddress()
Field referenceAddress is defined as optional.


setReferenceAddress

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



Copyright © 2012. All Rights Reserved.