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
SuppliedManagedObjectSourceTypeimplementation.- 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 voidaddProperty(java.lang.String name, java.lang.String value)Adds aPropertyto configure the item.ManagedObjectSource<?,?>getManagedObjectSource()Obtains theManagedObjectSource.java.lang.Class<?>getObjectType()Obtains the type ofObjectprovided by the suppliedManagedObject.PropertyListgetPropertyList()Obtains thePropertyListto configure theManagedObjectSource.java.lang.StringgetQualifier()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:PropertyConfigurableAdds aPropertyto configure the item.- Specified by:
addPropertyin interfacePropertyConfigurable- Parameters:
name- Name ofProperty.value- Value ofProperty.
-
getObjectType
public java.lang.Class<?> getObjectType()
Description copied from interface:SuppliedManagedObjectSourceTypeObtains the type ofObjectprovided by the suppliedManagedObject.- Specified by:
getObjectTypein interfaceSuppliedManagedObjectSourceType- Returns:
- Type of
Objectprovided by the suppliedManagedObject.
-
getQualifier
public java.lang.String 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
public ManagedObjectSource<?,?> getManagedObjectSource()
Description copied from interface:SuppliedManagedObjectSourceTypeObtains theManagedObjectSource.- Specified by:
getManagedObjectSourcein interfaceSuppliedManagedObjectSourceType- Returns:
ManagedObjectSource.
-
getPropertyList
public PropertyList getPropertyList()
Description copied from interface:SuppliedManagedObjectSourceTypeObtains thePropertyListto configure theManagedObjectSource.- Specified by:
getPropertyListin interfaceSuppliedManagedObjectSourceType- Returns:
PropertyListto configure theManagedObjectSource.
-
-