Class SuppliedManagedObjectSourceTypeImpl
java.lang.Object
net.officefloor.compile.impl.supplier.SuppliedManagedObjectSourceTypeImpl
- All Implemented Interfaces:
PropertyConfigurable,SuppliedManagedObjectSource,SuppliedManagedObjectSourceType
public class SuppliedManagedObjectSourceTypeImpl
extends Object
implements SuppliedManagedObjectSource, SuppliedManagedObjectSourceType
SuppliedManagedObjectSourceType implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionSuppliedManagedObjectSourceTypeImpl(Class<?> objectType, String qualifier, ManagedObjectSource<?, ?> managedObjectSource, PropertyList properties) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(String name, String value) Adds aPropertyto configure the item.ManagedObjectSource<?,?> Obtains theManagedObjectSource.Class<?>Obtains the type ofObjectprovided by the suppliedManagedObject.Obtains thePropertyListto configure theManagedObjectSource.Obtains the possible qualifier for the suppliedManagedObject.
-
Constructor Details
-
SuppliedManagedObjectSourceTypeImpl
public SuppliedManagedObjectSourceTypeImpl(Class<?> objectType, String qualifier, ManagedObjectSource<?, ?> managedObjectSource, PropertyList properties) Instantiate.- Parameters:
objectType- Object type.qualifier- Qualifier. May benull.managedObjectSource-ManagedObjectSource.properties-PropertyList.
-
-
Method Details
-
addProperty
Description copied from interface:PropertyConfigurableAdds aPropertyto configure the item.- Specified by:
addPropertyin interfacePropertyConfigurable- Parameters:
name- Name ofProperty.value- Value ofProperty.
-
getObjectType
Description copied from interface:SuppliedManagedObjectSourceTypeObtains the type ofObjectprovided by the suppliedManagedObject.- Specified by:
getObjectTypein interfaceSuppliedManagedObjectSourceType- Returns:
- Type of
Objectprovided by the suppliedManagedObject.
-
getQualifier
Description copied from interface:SuppliedManagedObjectSourceTypeObtains the possible qualifier for the suppliedManagedObject.- Specified by:
getQualifierin interfaceSuppliedManagedObjectSourceType- Returns:
- Qualifier for the supplied
ManagedObject. May benull.
-
getManagedObjectSource
Description copied from interface:SuppliedManagedObjectSourceTypeObtains theManagedObjectSource.- Specified by:
getManagedObjectSourcein interfaceSuppliedManagedObjectSourceType- Returns:
ManagedObjectSource.
-
getPropertyList
Description copied from interface:SuppliedManagedObjectSourceTypeObtains thePropertyListto configure theManagedObjectSource.- Specified by:
getPropertyListin interfaceSuppliedManagedObjectSourceType- Returns:
PropertyListto configure theManagedObjectSource.
-