Class DependentObjectTypeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.object.DependentObjectTypeImpl
-
- All Implemented Interfaces:
DependentObjectType
public class DependentObjectTypeImpl extends java.lang.Object implements DependentObjectType
DependentObjectTypeimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description DependentObjectTypeImpl(java.lang.String objectName, TypeQualification[] typeQualifications, ObjectDependencyType[] dependencies)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDependentObjectName()Obtains the name of this dependent object.ObjectDependencyType[]getObjectDependencies()Obtains theObjectDependencyTypeinstances for this dependent object.TypeQualification[]getTypeQualifications()Obtains theTypeQualificationinstances for thisDependentObjectType.
-
-
-
Constructor Detail
-
DependentObjectTypeImpl
public DependentObjectTypeImpl(java.lang.String objectName, TypeQualification[] typeQualifications, ObjectDependencyType[] dependencies)Instantiate.- Parameters:
objectName- Name of theDependentObjectNode.typeQualifications-TypeQualificationinstances for theDependentObjectNode.dependencies-ObjectDependencyTypeinstances for theDependentObjectNode.
-
-
Method Detail
-
getDependentObjectName
public java.lang.String getDependentObjectName()
Description copied from interface:DependentObjectTypeObtains the name of this dependent object.- Specified by:
getDependentObjectNamein interfaceDependentObjectType- Returns:
- Name of this dependent object.
-
getTypeQualifications
public TypeQualification[] 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
public ObjectDependencyType[] 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.
-
-