Class DependentObjectTypeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.object.DependentObjectTypeImpl
-
- All Implemented Interfaces:
DependentObjectType
public class DependentObjectTypeImpl extends java.lang.Object implements DependentObjectType
DependentObjectType
implementation.- 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.String
getDependentObjectName()
Obtains the name of this dependent object.ObjectDependencyType[]
getObjectDependencies()
Obtains theObjectDependencyType
instances for this dependent object.TypeQualification[]
getTypeQualifications()
Obtains theTypeQualification
instances for thisDependentObjectType
.
-
-
-
Constructor Detail
-
DependentObjectTypeImpl
public DependentObjectTypeImpl(java.lang.String objectName, TypeQualification[] typeQualifications, ObjectDependencyType[] dependencies)
Instantiate.- Parameters:
objectName
- Name of theDependentObjectNode
.typeQualifications
-TypeQualification
instances for theDependentObjectNode
.dependencies
-ObjectDependencyType
instances for theDependentObjectNode
.
-
-
Method Detail
-
getDependentObjectName
public java.lang.String getDependentObjectName()
Description copied from interface:DependentObjectType
Obtains the name of this dependent object.- Specified by:
getDependentObjectName
in interfaceDependentObjectType
- Returns:
- Name of this dependent object.
-
getTypeQualifications
public TypeQualification[] getTypeQualifications()
Description copied from interface:DependentObjectType
Obtains the
TypeQualification
instances for thisDependentObjectType
.Should no
TypeQualification
instances be manually assigned, theTypeQualification
should be derived from the object type (i.e. type without qualifier).- Specified by:
getTypeQualifications
in interfaceDependentObjectType
- Returns:
TypeQualification
instances for this dependent object.
-
getObjectDependencies
public ObjectDependencyType[] getObjectDependencies()
Description copied from interface:DependentObjectType
Obtains the
ObjectDependencyType
instances for this dependent object.This allows determining transitive dependencies.
- Specified by:
getObjectDependencies
in interfaceDependentObjectType
- Returns:
ObjectDependencyType
instances for this dependent object.
-
-