Class DependentObjectTypeImpl
java.lang.Object
net.officefloor.compile.impl.object.DependentObjectTypeImpl
- All Implemented Interfaces:
DependentObjectType
DependentObjectType implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionDependentObjectTypeImpl(String objectName, TypeQualification[] typeQualifications, ObjectDependencyType[] dependencies) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains the name of this dependent object.Obtains theObjectDependencyTypeinstances for this dependent object.Obtains theTypeQualificationinstances for thisDependentObjectType.
-
Constructor Details
-
DependentObjectTypeImpl
public DependentObjectTypeImpl(String objectName, TypeQualification[] typeQualifications, ObjectDependencyType[] dependencies) Instantiate.- Parameters:
objectName- Name of theDependentObjectNode.typeQualifications-TypeQualificationinstances for theDependentObjectNode.dependencies-ObjectDependencyTypeinstances for theDependentObjectNode.
-
-
Method Details
-
getDependentObjectName
Description copied from interface:DependentObjectTypeObtains the name of this dependent object.- Specified by:
getDependentObjectNamein interfaceDependentObjectType- Returns:
- Name of this dependent object.
-
getTypeQualifications
Description copied from interface:DependentObjectTypeObtains the
TypeQualificationinstances for thisDependentObjectType.Should no
TypeQualificationinstances be manually assigned, theTypeQualificationshould be derived from the object type (i.e. type without qualifier).- Specified by:
getTypeQualificationsin interfaceDependentObjectType- Returns:
TypeQualificationinstances for this dependent object.
-
getObjectDependencies
Description copied from interface:DependentObjectTypeObtains the
ObjectDependencyTypeinstances for this dependent object.This allows determining transitive dependencies.
- Specified by:
getObjectDependenciesin interfaceDependentObjectType- Returns:
ObjectDependencyTypeinstances for this dependent object.
-