001: package com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel;
002:
003: /**
004: * PropertyDescriptor object instance interface.
005: */
006: public interface PropertyDescriptor extends
007: com.metaboss.sdlctools.models.metabossmodel.ModelElement {
008: /**
009: * @return
010: */
011: public java.util.Collection getCombinedPropertyDescriptors();
012:
013: /**
014: * @param pName
015: * @return
016: */
017: public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.PropertyDescriptor findPropertyDescriptor(
018: java.lang.String pName);
019:
020: /**
021: * @param pName
022: * @return
023: */
024: public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.PropertyDescriptor getPropertyDescriptor(
025: java.lang.String pName);
026:
027: /**
028: * Creates Property described by this descriptor.
029: * @param pValue May be null if no value should be set
030: * @param pArrayIndex Must be not null for array properties. Ignored for non-array
031: * properties
032: * @return Creates Property described by this descriptor.
033: */
034: public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.Property createProperty(
035: java.lang.String pValue, java.lang.Integer pArrayIndex);
036:
037: /**
038: * Returns the value of attribute isArray.
039: * @return Value of attribute isArray.
040: */
041: public boolean isArray();
042:
043: /**
044: * Sets the value of isArray attribute. See {@link #isArray} for description
045: * on the attribute.
046: * @param newValue New value to be set.
047: */
048: public void setArray(boolean newValue);
049:
050: /**
051: * Returns the value of attribute isContainer.
052: * @return Value of attribute isContainer.
053: */
054: public boolean isContainer();
055:
056: /**
057: * Sets the value of isContainer attribute. See {@link #isContainer} for description
058: * on the attribute.
059: * @param newValue New value to be set.
060: */
061: public void setContainer(boolean newValue);
062:
063: /**
064: * Returns the value of reference properties.
065: * @return Value of reference properties.
066: */
067: public java.util.Collection getProperties();
068:
069: /**
070: * Returns the value of reference parentTypetemplate.
071: * @return Value of reference parentTypetemplate.
072: */
073: public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.TypeTemplate getParentTypetemplate();
074:
075: /**
076: * Sets the value of reference parentTypetemplate. See {@link #getParentTypetemplate}
077: * for description on the reference.
078: * @param newValue New value to be set.
079: */
080: public void setParentTypetemplate(
081: com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.TypeTemplate newValue);
082:
083: /**
084: * Returns the value of reference parentDescriptor.
085: * @return Value of reference parentDescriptor.
086: */
087: public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.PropertyDescriptor getParentDescriptor();
088:
089: /**
090: * Sets the value of reference parentDescriptor. See {@link #getParentDescriptor}
091: * for description on the reference.
092: * @param newValue New value to be set.
093: */
094: public void setParentDescriptor(
095: com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.PropertyDescriptor newValue);
096:
097: /**
098: * Returns the value of reference subPropertyDescriptors.
099: * @return Value of reference subPropertyDescriptors.
100: */
101: public java.util.Collection getSubPropertyDescriptors();
102: }
|