com.ibm.etools.iseries.comm.interfaces
Class ISeriesHostObjectNameOnlyFactory
java.lang.Object
com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectNameOnlyFactory
- All Implemented Interfaces:
- IISeriesHostObjectFactory
public class ISeriesHostObjectNameOnlyFactory
- extends Object
- implements IISeriesHostObjectFactory
This class is simply a factory for creating new instances of
the ISeriesHostObjectNameOnly
class. Should somebody wish to use
their own object instead they would:
create their own class that that implements IISeriesHostObjectNameOnly
create their own factory class like this implements
IISeriesHostObjectFactory with the one (@link #createObject()} method that
returns an instance of their own class.
when using comm layer code like ISeriesCheckObject
, you pass
in your factory instance which is what is used to create
the returned object.
- See Also:
IISeriesHostObjectFactory
,
IISeriesHostObjectNameOnly
,
ISeriesHostObjectNameOnly
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
ISeriesHostObjectNameOnlyFactory
public ISeriesHostObjectNameOnlyFactory()
createObject
public IISeriesHostObjectNameOnly createObject(String type,
String attribute)
- Description copied from interface:
IISeriesHostObjectFactory
- Return an instance of a class that implements the
interface matching the amount of information you want
returned to you:
IISeriesHostObjectNameOnly
for just name and context information
IISeriesHostObjectBrief
for simple information
IISeriesHostObjectBasic
for typical information
IISeriesHostObjectExhaustive
for all information
- Specified by:
createObject
in interface IISeriesHostObjectFactory
- Parameters:
type
- The type of object requested.attribute
- The attribute of the object requested. The attribute may be null.
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.