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
SectionObjectType
implementation.- 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.String
getObjectType()
java.lang.String
getSectionObjectName()
Obtains the name of thisSectionObjectType
.java.lang.String
getTypeQualifier()
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:SectionObjectType
Obtains the name of thisSectionObjectType
.- Specified by:
getSectionObjectName
in interfaceSectionObjectType
- Returns:
- Name of this
SectionObjectType
.
-
getObjectType
public java.lang.String getObjectType()
Description copied from interface:SectionObjectType
Obtains the fully qualified
Class
name of theObject
type for thisSectionObjectType
.The name is returned rather than the actual
Class
to enable theSectionType
to be obtained should theClass
not be available to theClassLoader
.- Specified by:
getObjectType
in interfaceSectionObjectType
- Returns:
- Fully qualified
Class
name of theObject
type.
-
getTypeQualifier
public java.lang.String getTypeQualifier()
Description copied from interface:SectionObjectType
Obtains the qualifier on the type.
This is to enable qualifying the type of dependency required.
- Specified by:
getTypeQualifier
in interfaceSectionObjectType
- Returns:
- Qualifier on the type. May be
null
if not qualifying the type.
-
getAnnotations
public java.lang.Object[] getAnnotations()
Description copied from interface:AnnotatedType
Obtains the annotations.- Specified by:
getAnnotations
in interfaceAnnotatedType
- Returns:
- Annotations.
-
-