java.lang.Object
org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom<Long>
org.apache.fineract.portfolio.loanaccount.guarantor.domain.Guarantor
All Implemented Interfaces:
Serializable, Cloneable, org.eclipse.persistence.descriptors.changetracking.ChangeTracker, org.eclipse.persistence.internal.descriptors.PersistenceEntity, org.eclipse.persistence.internal.descriptors.PersistenceObject, org.eclipse.persistence.internal.weaving.PersistenceWeaved, org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking, org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups, org.eclipse.persistence.queries.FetchGroupTracker, org.springframework.data.domain.Persistable<Long>

@Entity public class Guarantor extends org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom<Long>
See Also:
  • Constructor Details

    • Guarantor

      protected Guarantor()
  • Method Details

    • fromJson

      public static Guarantor fromJson(org.apache.fineract.portfolio.loanaccount.domain.Loan loan, org.apache.fineract.infrastructure.codes.domain.CodeValue clientRelationshipType, org.apache.fineract.infrastructure.core.api.JsonCommand command, List<GuarantorFundingDetails> fundingDetails)
    • update

      public Map<String,Object> update(org.apache.fineract.infrastructure.core.api.JsonCommand command)
    • isExistingCustomer

      public boolean isExistingCustomer()
    • isExistingEmployee

      public boolean isExistingEmployee()
    • isExternalGuarantor

      public boolean isExternalGuarantor()
    • getEntityId

      public Long getEntityId()
    • getLoanId

      public Long getLoanId()
    • getClientId

      public Long getClientId()
    • getOfficeId

      public Long getOfficeId()
    • getClientRelationshipType

      public org.apache.fineract.infrastructure.codes.domain.CodeValue getClientRelationshipType()
    • updateClientRelationshipType

      public void updateClientRelationshipType(org.apache.fineract.infrastructure.codes.domain.CodeValue clientRelationshipType)
    • getGurantorType

      public Integer getGurantorType()
    • isActive

      public boolean isActive()
    • updateStatus

      public void updateStatus(boolean status)
    • addFundingDetails

      public void addFundingDetails(List<GuarantorFundingDetails> fundingDetails)
    • updateStatus

      public void updateStatus(GuarantorFundingDetails guarantorFundingDetails, org.apache.fineract.portfolio.loanaccount.guarantor.domain.GuarantorFundStatusType fundStatusType)
    • getGuarantorFundingDetail

      public GuarantorFundingDetails getGuarantorFundingDetail(Long fundingDetailId)
    • getLoan

      public org.apache.fineract.portfolio.loanaccount.domain.Loan getLoan()
    • getGuarantorFundDetails

      public List<GuarantorFundingDetails> getGuarantorFundDetails()
    • hasGuarantor

      public boolean hasGuarantor(Long savingsId)
    • isSelfGuarantee

      public boolean isSelfGuarantee()