Interface QualificationHandler<Q extends com.rosetta.model.lib.RosettaModelObject,R extends com.rosetta.model.lib.RosettaModelObject,B extends com.rosetta.model.lib.RosettaModelObjectBuilder>

Type Parameters:
Q - qualifiable class - the type to be qualified, e.g. EconomicTerms
R - root class - the root type that contains both the qualified type and the qualifier, e.g. ContractualProduct
B - root class builder - the root builder type, e.g. ContractualProductBuilder

public interface QualificationHandler<Q extends com.rosetta.model.lib.RosettaModelObject,R extends com.rosetta.model.lib.RosettaModelObject,B extends com.rosetta.model.lib.RosettaModelObjectBuilder>
Qualification handler - implemented for each model.
  • Method Summary

    Modifier and Type
    Method
    Description
    The type to be qualified.
    getQualifiableObject(R rootObject)
    Gets qualifiable object instance from the root object.
    getQualifier(R rootObject)
    Gets the qualifier from the root object.
    void
    setQualifier(B rootObjectBuilder, String qualifier)
    Sets the qualifier on the root object builder.
  • Method Details

    • getQualifiableClass

      Class<Q> getQualifiableClass()
      The type to be qualified.
    • getQualifiableObject

      Q getQualifiableObject(R rootObject)
      Gets qualifiable object instance from the root object.
    • getQualifier

      String getQualifier(R rootObject)
      Gets the qualifier from the root object.
    • setQualifier

      void setQualifier(B rootObjectBuilder, String qualifier)
      Sets the qualifier on the root object builder.