|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.datamodel.tools.MObjectHelper
public final class MObjectHelper
Connectivity MObject Helper.
| Method Summary | |
|---|---|
static void |
addLiteralArrayAttribute(RecordFactory factory,
MObject mObject,
java.lang.String attributeName,
java.lang.Object[] values)
Adds the list of literals to attribute. |
static void |
addNameValuePairsAttribute(RecordFactory factory,
MObject mObject,
java.lang.String attributeName,
NameValuePair[] nameValuePairs)
Adds the MObject containing attributes with names and literal values from given NameValuePairs array. |
static void |
addSimpleLiteralAttribute(RecordFactory factory,
MObject mObject,
java.lang.String attributeName,
java.lang.Object attributeValue)
Adds simple literal attribute. |
static java.lang.String |
glueLiterals(Attribute recordAttribute)
Glue literals. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void addSimpleLiteralAttribute(RecordFactory factory,
MObject mObject,
java.lang.String attributeName,
java.lang.Object attributeValue)
throws InvalidTypeException
factory - the record factorymObject - the m objectattributeName - the attribute nameattributeValue - the attribute value
InvalidTypeException - the invalid type exception
public static void addLiteralArrayAttribute(RecordFactory factory,
MObject mObject,
java.lang.String attributeName,
java.lang.Object[] values)
throws InvalidTypeException
factory - the factorymObject - the m objectattributeName - the attribute namevalues - the values
InvalidTypeException - the invalid type exception
public static void addNameValuePairsAttribute(RecordFactory factory,
MObject mObject,
java.lang.String attributeName,
NameValuePair[] nameValuePairs)
throws InvalidTypeException
factory - the factorymObject - the m objectattributeName - the attribute namenameValuePairs - the name value pairs
InvalidTypeException - InvalidTypeExceptionpublic static java.lang.String glueLiterals(Attribute recordAttribute)
recordAttribute - the record attribute
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||