Class SuppliedManagedObjectSourceTypeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.supplier.SuppliedManagedObjectSourceTypeImpl
-
- All Implemented Interfaces:
PropertyConfigurable
,SuppliedManagedObjectSource
,SuppliedManagedObjectSourceType
public class SuppliedManagedObjectSourceTypeImpl extends java.lang.Object implements SuppliedManagedObjectSource, SuppliedManagedObjectSourceType
SuppliedManagedObjectSourceType
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description SuppliedManagedObjectSourceTypeImpl(java.lang.Class<?> objectType, java.lang.String qualifier, ManagedObjectSource<?,?> managedObjectSource, PropertyList properties)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(java.lang.String name, java.lang.String value)
Adds aProperty
to configure the item.ManagedObjectSource<?,?>
getManagedObjectSource()
Obtains theManagedObjectSource
.java.lang.Class<?>
getObjectType()
Obtains the type ofObject
provided by the suppliedManagedObject
.PropertyList
getPropertyList()
Obtains thePropertyList
to configure theManagedObjectSource
.java.lang.String
getQualifier()
Obtains the possible qualifier for the suppliedManagedObject
.
-
-
-
Constructor Detail
-
SuppliedManagedObjectSourceTypeImpl
public SuppliedManagedObjectSourceTypeImpl(java.lang.Class<?> objectType, java.lang.String qualifier, ManagedObjectSource<?,?> managedObjectSource, PropertyList properties)
Instantiate.- Parameters:
objectType
- Object type.qualifier
- Qualifier. May benull
.managedObjectSource
-ManagedObjectSource
.properties
-PropertyList
.
-
-
Method Detail
-
addProperty
public void addProperty(java.lang.String name, java.lang.String value)
Description copied from interface:PropertyConfigurable
Adds aProperty
to configure the item.- Specified by:
addProperty
in interfacePropertyConfigurable
- Parameters:
name
- Name ofProperty
.value
- Value ofProperty
.
-
getObjectType
public java.lang.Class<?> getObjectType()
Description copied from interface:SuppliedManagedObjectSourceType
Obtains the type ofObject
provided by the suppliedManagedObject
.- Specified by:
getObjectType
in interfaceSuppliedManagedObjectSourceType
- Returns:
- Type of
Object
provided by the suppliedManagedObject
.
-
getQualifier
public java.lang.String getQualifier()
Description copied from interface:SuppliedManagedObjectSourceType
Obtains the possible qualifier for the suppliedManagedObject
.- Specified by:
getQualifier
in interfaceSuppliedManagedObjectSourceType
- Returns:
- Qualifier for the supplied
ManagedObject
. May benull
.
-
getManagedObjectSource
public ManagedObjectSource<?,?> getManagedObjectSource()
Description copied from interface:SuppliedManagedObjectSourceType
Obtains theManagedObjectSource
.- Specified by:
getManagedObjectSource
in interfaceSuppliedManagedObjectSourceType
- Returns:
ManagedObjectSource
.
-
getPropertyList
public PropertyList getPropertyList()
Description copied from interface:SuppliedManagedObjectSourceType
Obtains thePropertyList
to configure theManagedObjectSource
.- Specified by:
getPropertyList
in interfaceSuppliedManagedObjectSourceType
- Returns:
PropertyList
to configure theManagedObjectSource
.
-
-