The relationship between the classes IltObject, IlpObject, IlpClass and IlpRepresentationObject

Article ID: 2128
Last updated: 28 May, 2018
Article ID: 2128
Last updated: 28 May, 2018
Revision: 3
Views: 628
Posted: 11 Aug, 2003
by Dean J.
Updated: 28 May, 2018
by Gargani A.

Question

What is the relationship between the classes IltObject, IlpObject, IlpClass and IlpRepresentationObject?

Answer

The following is a small list describing the relationships between some basic JTGO classes.

  • IltObject and IlpObject 
    The class IltObject implements the interface IlpObject.

  • IltObject and IlpClass 
    You can create an instance of the class IltObject with an IlpClass as parameter thanks to the following constructor: 
    public IltObject(IlpClass ilpClass, Object identifier); 

    The method IltObject.getIlpClass retrieves the IlpClass of this instance ofIltObject
    The complete signature of this method is as follows: 
    public IlpClass getIlpClass(); 

    The static method IltObject.GetIlpClass returns the IlpClass corresponding to the IltObject Java class. Here the IlpClass interface is implemented byIltObjectInfo. This method is used by the class manager to retrieve predefined business object classes. 
    The complete signature of this method is as follows: 
    public static IltObjectInfo GetIlpClass();

  • IlpObject and IlpClass 
    The methods IlpClass.newInstance (with different parameters) allow you to createIlpObject instances from an IlpClass
    The complete signatures of these methods are as follows: 
    public IlpObject newInstance(Object identifier, boolean initializeAttributeValues); 
    public IlpObject newInstance(IlpClass ilpClass, Object identifier, boolean initializeAttributeValues); 
    The second method is supposed to be called by a subclass, the subclass passing itself as the first parameter. 

    The method IlpObject.getIlpClass allows you to retrieve the IlpClass from an instance of IlpObject
    The complete signature of this method is as follows: 
    public IlpClass getIlpClass();
  • IlpObject and IlpRepresentationObject 
    The method IlpRepresentationObject.getIlpObject allows you to retrieve theIlpObject corresponding to a representation object. 
    The complete signature of this method is as follows: 
    public IlpObject getIlpObject(); 

    All IlpRepresentationObject instances created by an JTGO adapter automatically inherit all the attributes of the corresponding IlpObject instances.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2128
Last updated: 28 May, 2018
Revision: 3
Views: 628
Posted: 11 Aug, 2003 by Dean J.
Updated: 28 May, 2018 by Gargani A.
Also listed in


Others in this category