| | | | Browse by category |
Article ID: 2128
Last updated: 28 May, 2018
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
andIlpObject
The classIltObject
implements the interfaceIlpObject
.IltObject
andIlpClass
You can create an instance of the classIltObject
with anIlpClass
as parameter thanks to the following constructor:
public IltObject(IlpClass ilpClass, Object identifier);
The methodIltObject.getIlpClass
retrieves theIlpClass
of this instance ofIltObject
.
The complete signature of this method is as follows:
public IlpClass getIlpClass();
The static methodIltObject.GetIlpClass
returns theIlpClass
corresponding to theIltObject
Java class. Here theIlpClass
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
andIlpClass
The methodsIlpClass.newInstance
(with different parameters) allow you to createIlpObject
instances from anIlpClass
.
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 methodIlpObject.getIlpClass
allows you to retrieve theIlpClass
from an instance ofIlpObject
.
The complete signature of this method is as follows:
public IlpClass getIlpClass();
IlpObject
andIlpRepresentationObject
The methodIlpRepresentationObject.getIlpObject
allows you to retrieve theIlpObject
corresponding to a representation object.
The complete signature of this method is as follows:
public IlpObject getIlpObject();
AllIlpRepresentationObject
instances created by an JTGO adapter automatically inherit all the attributes of the correspondingIlpObject
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
Powered by KBPublisher (Knowledge base software)