Package com.luciad.datamodel
Interface ILcdDataObjectFactory
public interface ILcdDataObjectFactory
Interface that provides a mechanism to control the creation of new instances
for types of a certain data model.
- Since:
- 10.0
-
Method Summary
Modifier and TypeMethodDescriptionnewInstance(TLcdDataType aType) Creates a new data object for the given type.
-
Method Details
-
newInstance
Creates a new data object for the given type. The type is required to be a data object type that is not abstract.aType.isInstance( newInstance( aType ) )should always return true. If no instance can be created,nullshould be returned.- Parameters:
aType- the type for which to create a new instance- Returns:
- a new data object for the given type
-