Class SectionObjectTypeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.section.SectionObjectTypeImpl
-
- All Implemented Interfaces:
SectionObjectType,AnnotatedType
public class SectionObjectTypeImpl extends java.lang.Object implements SectionObjectType
SectionObjectTypeimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description SectionObjectTypeImpl(java.lang.String objectName, java.lang.String objectType, java.lang.String typeQualifier, java.lang.Object[] annotations)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]getAnnotations()Obtains the annotations.java.lang.StringgetObjectType()java.lang.StringgetSectionObjectName()Obtains the name of thisSectionObjectType.java.lang.StringgetTypeQualifier()Obtains the qualifier on the type.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.compile.type.AnnotatedType
getAnnotation, getAnnotations
-
-
-
-
Constructor Detail
-
SectionObjectTypeImpl
public SectionObjectTypeImpl(java.lang.String objectName, java.lang.String objectType, java.lang.String typeQualifier, java.lang.Object[] annotations)Instantiate.- Parameters:
objectName- Name of theSectionObject.objectType- Type of theSectionObject.typeQualifier- Type qualifier of theSectionObject.annotations- Annotations.
-
-
Method Detail
-
getSectionObjectName
public java.lang.String getSectionObjectName()
Description copied from interface:SectionObjectTypeObtains the name of thisSectionObjectType.- Specified by:
getSectionObjectNamein interfaceSectionObjectType- Returns:
- Name of this
SectionObjectType.
-
getObjectType
public java.lang.String getObjectType()
Description copied from interface:SectionObjectTypeObtains the fully qualified
Classname of theObjecttype for thisSectionObjectType.The name is returned rather than the actual
Classto enable theSectionTypeto be obtained should theClassnot be available to theClassLoader.- Specified by:
getObjectTypein interfaceSectionObjectType- Returns:
- Fully qualified
Classname of theObjecttype.
-
getTypeQualifier
public java.lang.String getTypeQualifier()
Description copied from interface:SectionObjectTypeObtains the qualifier on the type.
This is to enable qualifying the type of dependency required.
- Specified by:
getTypeQualifierin interfaceSectionObjectType- Returns:
- Qualifier on the type. May be
nullif not qualifying the type.
-
getAnnotations
public java.lang.Object[] getAnnotations()
Description copied from interface:AnnotatedTypeObtains the annotations.- Specified by:
getAnnotationsin interfaceAnnotatedType- Returns:
- Annotations.
-
-