001: package com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel;
002:
003: /**
004: * Property object instance interface.
005: */
006: public interface Property extends
007: com.metaboss.sdlctools.models.metabossmodel.ModelElement {
008: /**
009: * @return
010: */
011: public java.lang.String getKey();
012:
013: /**
014: * @return
015: */
016: public java.util.Collection getCombinedProperties();
017:
018: /**
019: * @param pPropertyKey
020: * @return
021: */
022: public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.Property findPropertyByKey(
023: java.lang.String pPropertyKey);
024:
025: /**
026: * @param pPropertyKey
027: * @return
028: */
029: public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.Property getPropertyByKey(
030: java.lang.String pPropertyKey);
031:
032: /**
033: * Returns read-only collection of properties defined under this property
034: * and described by given descriptor
035: * @param pPropertyDescriptor
036: * @return Returns read-only collection of properties defined under this property
037: * and described by given descriptor
038: */
039: public java.util.Collection getPropertiesByDescriptor(
040: com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.PropertyDescriptor pPropertyDescriptor);
041:
042: /**
043: * Calculates the array index of this particular property. This value is only
044: * applicable to the array Properties. Note that the index this operation
045: * returns starts from one.
046: * @return Calculates the array index of this particular property. This value
047: * is only applicable to the array Properties. Note that the index this operation
048: * returns starts from one.
049: */
050: public java.lang.Integer getArrayIndex();
051:
052: /**
053: * Returns the value of attribute value.
054: * @return Value of attribute value.
055: */
056: public java.lang.String getValue();
057:
058: /**
059: * Sets the value of value attribute. See {@link #getValue} for description
060: * on the attribute.
061: * @param newValue New value to be set.
062: */
063: public void setValue(java.lang.String newValue);
064:
065: /**
066: * Returns the value of reference descriptor.
067: * @return Value of reference descriptor.
068: */
069: public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.PropertyDescriptor getDescriptor();
070:
071: /**
072: * Sets the value of reference descriptor. See {@link #getDescriptor} for
073: * description on the reference.
074: * @param newValue New value to be set.
075: */
076: public void setDescriptor(
077: com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.PropertyDescriptor newValue);
078:
079: /**
080: * Returns the value of reference parentProperty.
081: * @return Value of reference parentProperty.
082: */
083: public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.Property getParentProperty();
084:
085: /**
086: * Sets the value of reference parentProperty. See {@link #getParentProperty}
087: * for description on the reference.
088: * @param newValue New value to be set.
089: */
090: public void setParentProperty(
091: com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.Property newValue);
092:
093: /**
094: * Returns the value of reference subProperties.
095: * @return Value of reference subProperties.
096: */
097: public java.util.List getSubProperties();
098:
099: /**
100: * Returns the value of reference dataType.
101: * @return Value of reference dataType.
102: */
103: public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.DataType getDataType();
104:
105: /**
106: * Sets the value of reference dataType. See {@link #getDataType} for description
107: * on the reference.
108: * @param newValue New value to be set.
109: */
110: public void setDataType(
111: com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.DataType newValue);
112: }
|