001: package com.metaboss.sdlctools.models.metabossmodel.enterprisemodel;
002:
003: /**
004: * Message object instance interface.
005: */
006: public interface Message extends
007: com.metaboss.sdlctools.models.metabossmodel.ModelElement {
008: /**
009: * @param pFieldName
010: * @return
011: */
012: public com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.MessageField findField(
013: java.lang.String pFieldName);
014:
015: /**
016: * @param pMessageField
017: * @return
018: */
019: public com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.MessageField getField(
020: java.lang.String pMessageField);
021:
022: /**
023: * Returns collection of combined DataTypes used in the message
024: * @return Returns collection of combined DataTypes used in the message
025: */
026: public java.util.Collection getCombinedTypes();
027:
028: /**
029: * if this Message is owned by DataDictionary - this method will return it.
030: * Otherwise null is returned
031: * @return if this Message is owned by DataDictionary - this method will return
032: * it. Otherwise null is returned
033: */
034: public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.DataDictionary getOwnerDataDictionary();
035:
036: /**
037: * Returns the value of attribute Type.
038: * @return Value of attribute Type.
039: */
040: public com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.MessageType getType();
041:
042: /**
043: * Sets the value of Type attribute. See {@link #getType} for description
044: * on the attribute.
045: * @param newValue New value to be set.
046: */
047: public void setType(
048: com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.MessageType newValue);
049:
050: /**
051: * Returns the value of attribute DefaultText.
052: * @return Value of attribute DefaultText.
053: */
054: public java.lang.String getDefaultText();
055:
056: /**
057: * Sets the value of DefaultText attribute. See {@link #getDefaultText} for
058: * description on the attribute.
059: * @param newValue New value to be set.
060: */
061: public void setDefaultText(java.lang.String newValue);
062:
063: /**
064: * Returns the value of reference servicemodule.
065: * @return Value of reference servicemodule.
066: */
067: public com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.Servicemodule getServicemodule();
068:
069: /**
070: * Sets the value of reference servicemodule. See {@link #getServicemodule}
071: * for description on the reference.
072: * @param newValue New value to be set.
073: */
074: public void setServicemodule(
075: com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.Servicemodule newValue);
076:
077: /**
078: * Returns the value of reference fields.
079: * @return Value of reference fields.
080: */
081: public java.util.Collection getFields();
082:
083: /**
084: * Returns the value of reference namespace.
085: * @return Value of reference namespace.
086: */
087: public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.AbstractNamespace getNamespace();
088:
089: /**
090: * Sets the value of reference namespace. See {@link #getNamespace} for description
091: * on the reference.
092: * @param newValue New value to be set.
093: */
094: public void setNamespace(
095: com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.AbstractNamespace newValue);
096:
097: /**
098: * Returns the value of reference messageFieldsOfType.
099: * @return Value of reference messageFieldsOfType.
100: */
101: public java.util.Collection getMessageFieldsOfType();
102: }
|