EmbASP-Narrative v7.1.0
Static Public Member Functions | Protected Member Functions | List of all members
it.unical.mat.embasp.languages.datalog.DatalogMapper Class Reference
Inheritance diagram for it.unical.mat.embasp.languages.datalog.DatalogMapper:
it.unical.mat.embasp.languages.Mapper

Static Public Member Functions

static DatalogMapper getInstance ()
 

Protected Member Functions

String getActualString (final String predicate, final HashMap< Integer, Object > parametersMap) throws IllegalTermException
 
String getId (final String atom)
 
String[] getParam (final String atom)
 

Additional Inherited Members

- Public Member Functions inherited from it.unical.mat.embasp.languages.Mapper
Class<?> getClass (final String predicate)
 
Object getObject (final String atom) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, InstantiationException
 
String getString (final Object obj) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, ObjectNotValidException, IllegalAnnotationException, IllegalTermException
 
String registerClass (final Class<?> cl) throws ObjectNotValidException, IllegalAnnotationException
 
void unregisterClass (final Class<?> cl) throws IllegalAnnotationException
 
- Protected Attributes inherited from it.unical.mat.embasp.languages.Mapper
final Map< String, Class<?> > predicateClass = new HashMap<>()
 
final Map< Class<?>, Map< String, Method > > classSetterMethod = new HashMap<>()
 

Detailed Description

Contains methods used to transform Objects into program strings, which in turn can be appended to it.unical.mat.embasp.base.InputProgram

Member Function Documentation

◆ getActualString()

String it.unical.mat.embasp.languages.datalog.DatalogMapper.getActualString ( final String  predicate,
final HashMap< Integer, Object >  parametersMap 
) throws IllegalTermException
inlineprotected

◆ getId()

String it.unical.mat.embasp.languages.datalog.DatalogMapper.getId ( final String  atom)
inlineprotected
Returns
The predicate name

Reimplemented from it.unical.mat.embasp.languages.Mapper.

◆ getInstance()

static DatalogMapper it.unical.mat.embasp.languages.datalog.DatalogMapper.getInstance ( )
inlinestatic

◆ getParam()

String [] it.unical.mat.embasp.languages.datalog.DatalogMapper.getParam ( final String  atom)
inlineprotected
Returns
All the Terms

Reimplemented from it.unical.mat.embasp.languages.Mapper.


The documentation for this class was generated from the following file: