Class GlobalLibraryV2_0Generator

java.lang.Object
org.kuali.coeus.s2sgen.impl.generate.support.GlobalLibraryV2_0Generator

@FormGenerator("GlobalLibraryV2_0Generator") public class GlobalLibraryV2_0Generator extends Object
  • Constructor Details

    • GlobalLibraryV2_0Generator

      public GlobalLibraryV2_0Generator()
  • Method Details

    • getCountryCodeDataType

      public Optional<gov.grants.apply.system.universalCodesV20.CountryCodeDataType.Enum> getCountryCodeDataType(String countryCode)
      Create a CountryCodeDataType.Enum as defined in UniversalCodes 2.0 from the given country code.
      Parameters:
      countryCode - The country code
      Returns:
      The CountryCodeDataType type corresponding to the given country code
    • getCountryCodeDataTypeV3

      public Optional<gov.grants.apply.system.universalCodesV20.CountryCodeDataTypeV3.Enum> getCountryCodeDataTypeV3(String countryCode)
      Create a CountryCodeDataTypeV3.Enum as defined in UniversalCodes 2.0 from the given country code.
      Parameters:
      countryCode - The country code
      Returns:
      The CountryCodeDataTypeV3 type corresponding to the given country code, or an empty Optional if one could not be found
    • getStateCodeDataType

      public Optional<gov.grants.apply.system.universalCodesV20.StateCodeDataType.Enum> getStateCodeDataType(String countryAlternateCode, String stateCode)
      Create a StateCodeDataType.Enum as defined in UniversalCodes 2.0 from the given name of the state.
      Parameters:
      stateCode - The state code
      Returns:
      The StateCodeDataType type corresponding to the given State code, or an empty Optional if one could not be found.
    • getStateCodeDataTypeV3

      public Optional<gov.grants.apply.system.universalCodesV20.StateCodeDataTypeV3.Enum> getStateCodeDataTypeV3(String countryAlternateCode, String stateCode)
      Create a StateCodeDataTypeV3.Enum as defined in UniversalCodes 2.0 from the given name of the state.
      Parameters:
      stateCode - The state code
      Returns:
      The StateCodeDataTypeV3 type corresponding to the given State code, or an empty Optional if one could not be found.
    • getAddressDataType

      public gov.grants.apply.system.globalLibraryV20.AddressDataType getAddressDataType(org.kuali.coeus.common.api.address.Addressable addressable)
    • getAddressDataTypeV3

      public gov.grants.apply.system.globalLibraryV20.AddressDataTypeV3 getAddressDataTypeV3(org.kuali.coeus.common.api.address.Addressable addressable)
    • getHumanNameDataType

      public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getHumanNameDataType(org.kuali.coeus.propdev.api.person.ProposalPersonContract person)
      Create HumanNameDataType from ProposalPerson object
      Parameters:
      person - ProposalPerson
      Returns:
      HumanNameDataType corresponding to the ProposalPerson object.
    • getHumanNameDataType

      public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getHumanNameDataType(DepartmentalPersonDto person)
      Create HumanNameDataType from DepartmentalPerson object
      Parameters:
      person - DepartmentalPerson
      Returns:
      HumanNameDataType corresponding to the DepartmentalPerson object
    • getHumanNameDataType

      public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getHumanNameDataType(org.kuali.coeus.common.api.rolodex.RolodexContract rolodex)
      Create a HumanNameDataType from Rolodex object
      Parameters:
      rolodex - Rolodex object
      Returns:
      HumanNameDataType corresponding to the rolodex object.
    • getHumanNameDataType

      public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getHumanNameDataType(org.kuali.coeus.s2sgen.api.budget.S2SKeyPersonDto keyPerson)
      Create HumanNameDataType from KeyPersonInfo object
      Parameters:
      keyPerson - KeyPersonInfo
      Returns:
      HumanNameDataType corresponding to the KeyPersonInfo object
    • getContactPersonDataType

      public gov.grants.apply.system.globalLibraryV20.ContactPersonDataType getContactPersonDataType(org.kuali.coeus.propdev.api.person.ProposalPersonContract person)
      Create ContactPersonDataType from ProposalPerson object
      Parameters:
      person - Proposalperson
      Returns:
      ContactPersonDataType created from ProposalPerson object
    • getContactPersonDataTypeV3

      public gov.grants.apply.system.globalLibraryV20.ContactPersonDataTypeV3 getContactPersonDataTypeV3(org.kuali.coeus.propdev.api.person.ProposalPersonContract person)
    • getContactPersonDataType

      public gov.grants.apply.system.globalLibraryV20.ContactPersonDataType getContactPersonDataType(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract proposalDocument)
    • getContactPersonDataType

      public gov.grants.apply.system.globalLibraryV20.ContactPersonDataType getContactPersonDataType(DepartmentalPersonDto person)
    • getContactPersonDataTypeV3

      public gov.grants.apply.system.globalLibraryV20.ContactPersonDataTypeV3 getContactPersonDataTypeV3(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract proposalDocument)
    • getContactPersonDataTypeV3

      public gov.grants.apply.system.globalLibraryV20.ContactPersonDataTypeV3 getContactPersonDataTypeV3(DepartmentalPersonDto person)
    • getS2SLocationService

      public S2SLocationService getS2SLocationService()
    • setS2SLocationService

      public void setS2SLocationService(S2SLocationService s2SLocationService)
    • getDepartmentalPersonService

      public DepartmentalPersonService getDepartmentalPersonService()
    • setDepartmentalPersonService

      public void setDepartmentalPersonService(DepartmentalPersonService departmentalPersonService)