|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jade.content.abs.AbsHelper
Constructor Summary | |
AbsHelper()
|
Method Summary | |
static AbsAgentAction |
externaliseACLMessage(ACLMessage obj,
Ontology onto)
Converts an ACLMessage into an
AbsAgentAction using
the specified ontology. |
static AbsConcept |
externaliseAID(AID obj)
Converts an AID into an AbsConcept
representing an AID |
static AbsContentElementList |
externaliseContentElementList(ContentElementList obj,
Ontology onto)
Converts a ContentElementList into an
AbsContentElementList using
the specified ontology. |
static AbsAggregate |
externaliseIterator(Iterator obj,
Ontology onto,
java.lang.String AggregateType)
Converts an Iterator into a AbsAggregate using
the specified ontology. |
static AbsAggregate |
externaliseList(List obj,
Ontology onto,
java.lang.String AggregateType)
Converts a List into a AbsAggregate using
the specified ontology. |
static OntoACLMessage |
internaliseACLMessage(AbsAgentAction absMsg,
Ontology onto)
Converts to an AbsAgentAction representing an ACLMessage
into an OntoACLMessage using the specified ontology. |
static OntoAID |
internaliseAID(AbsConcept aid)
Converts an AbsConcept representing an AID
into an OntoAID |
static ContentElementList |
internaliseContentElementList(AbsContentElementList l,
Ontology onto)
Converts to an AbsContentElementList into a
ContentElementList using the
specified ontology. |
static List |
internaliseList(AbsAggregate aggregate,
Ontology onto)
Converts an AbsAggregate into a List using the
specified ontology. |
static void |
setAttribute(AbsObject abs,
java.lang.String attrName,
AbsObject attrValue)
Set an attribute in an abstract descriptor performing all necessary type checks. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AbsHelper()
Method Detail |
public static AbsAggregate externaliseList(List obj, Ontology onto, java.lang.String AggregateType) throws OntologyException
List
into a AbsAggregate
using
the specified ontology.obj
- the List
onto
- the ontology.public static AbsAggregate externaliseIterator(Iterator obj, Ontology onto, java.lang.String AggregateType) throws OntologyException
Iterator
into a AbsAggregate
using
the specified ontology.obj
- the Iterator
onto
- the ontology.public static AbsConcept externaliseAID(AID obj)
AID
into an AbsConcept
representing an AIDobj
- the AID
public static AbsContentElementList externaliseContentElementList(ContentElementList obj, Ontology onto) throws OntologyException
ContentElementList
into an
AbsContentElementList
using
the specified ontology.obj
- the ContentElementList
onto
- the ontology.public static AbsAgentAction externaliseACLMessage(ACLMessage obj, Ontology onto) throws OntologyException
ACLMessage
into an
AbsAgentAction
using
the specified ontology.obj
- the ACLMessage
onto
- the ontology.public static List internaliseList(AbsAggregate aggregate, Ontology onto) throws OntologyException
AbsAggregate
into a List using the
specified ontology.onto
- the ontologypublic static OntoAID internaliseAID(AbsConcept aid) throws OntologyException
AbsConcept
representing an AID
into an OntoAIDaid
does not
represent a valid AIDpublic static ContentElementList internaliseContentElementList(AbsContentElementList l, Ontology onto) throws OntologyException
AbsContentElementList
into a
ContentElementList using the
specified ontology.onto
- the ontologypublic static OntoACLMessage internaliseACLMessage(AbsAgentAction absMsg, Ontology onto) throws OntologyException
AbsAgentAction
representing an ACLMessage
into an OntoACLMessage using the specified ontology.onto
- the ontologypublic static void setAttribute(AbsObject abs, java.lang.String attrName, AbsObject attrValue) throws OntologyException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |