ilog.cpl.model
Class IlpBeansClass
java.lang.Object
ilog.cpl.model.IlpAbstractClass
ilog.cpl.model.IlpDefaultClass
ilog.cpl.model.IlpBeansClass
- All Implemented Interfaces:
- IlpAttributeGroup, IlpClass, IlpMutableAttributeGroup, IlpMutableClass
public class IlpBeansClass
- extends IlpDefaultClass
Implementation of ILOG CPL class interface for Java Beans.
This class provides access to the class hierarchy, and
to the class attributes.
It is essentially a wrapper around a Java class which follows the JavaBeans
conventions.
- Since:
- JTGO 3.0
|
Constructor Summary |
IlpBeansClass(Class beanClass,
BeanInfo beanInfo,
IlpClass superClass)
Creates a new instance of IlpClass with the
attributes present in the BeanInfo instances. |
| Methods inherited from class ilog.cpl.model.IlpDefaultClass |
addAttribute, addAttributeGroup, addAttributeGroupListener, fireEvent, getAttribute, getAttributeGroups, getAttributes, getDeclaredAttributes, hasAttribute, newInstance, removeAttribute, removeAttributeGroup, removeAttributeGroupListener, setSuperClass, toString |
IlpBeansClass
public IlpBeansClass(Class beanClass,
BeanInfo beanInfo,
IlpClass superClass)
- Creates a new instance of
IlpClass with the
attributes present in the BeanInfo instances.
getJavaClass
public Class getJavaClass()
- Returns the Java class being represented by this instance.
newInstance
public IlpObject newInstance(Object identifier,
boolean initializeAttributeValues)
- Creates an instance of the class.
The instance is an instance of the IlpObject interface.
This implementation returns an
IlpBeansObject instance.
- Specified by:
newInstance in interface IlpClass- Overrides:
newInstance in class IlpDefaultClass
- Parameters:
identifier - Object identifier.
- Returns:
- An object of this dynamic class.
- See Also:
IlpObject,
IlpAttribute.getDefaultValue()
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.