|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.endeca.portal.data.model.ModelUtil
public class ModelUtil
Class containing utility methods for converting various query result objects into a single record object.
| Method Summary | |
|---|---|
static Assignment |
convert(org.w3c.dom.Element assignment)
Convert a 7-series assignment into a unified model assignment. |
static java.lang.Iterable<Record> |
convert(java.util.List<com.endeca.mdex.conversation.Record> csRecList)
This method converts a list of conversation records to an iterable of uniform record model object. |
static java.lang.Iterable<Record> |
convert(MDEXAttributeList attributes,
java.util.List<com.endeca.mdex.conversation.Record> csRecList)
This method converts a list of conversation records to an iterable of uniform record model object. |
static Record |
convert(MDEXAttributeList attributes,
com.endeca.mdex.conversation.Record csRec)
Convenience converter for taking MDEX attributes and a discovery service record and converting it to a unified model object. |
static Record |
convert(com.endeca.mdex.conversation.Record csRec)
Convert a conversation service record with a null record spec. |
static Record |
convert(RecordSpec recordSpec,
com.endeca.mdex.conversation.Record csRec)
Converts a conversation service record into a uniform record model object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Record convert(com.endeca.mdex.conversation.Record csRec)
csRec -
public static Record convert(MDEXAttributeList attributes,
com.endeca.mdex.conversation.Record csRec)
attributes - - MDEX attributes from the data source which created the discovery service recordcsRec - - the record
public static Record convert(RecordSpec recordSpec,
com.endeca.mdex.conversation.Record csRec)
csRec - - the conversation service record to convert.
public static Assignment convert(org.w3c.dom.Element assignment)
assignment - - the assignment to convert
public static java.lang.Iterable<Record> convert(java.util.List<com.endeca.mdex.conversation.Record> csRecList)
csRecList -
public static java.lang.Iterable<Record> convert(MDEXAttributeList attributes,
java.util.List<com.endeca.mdex.conversation.Record> csRecList)
attributes - csRecList -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||