Class ShareProduct
java.lang.Object
org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom<Long>
org.apache.fineract.infrastructure.core.domain.AbstractAuditableCustom
org.apache.fineract.portfolio.shareproducts.domain.ShareProduct
- 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.Auditable<Long,,Long, LocalDateTime> org.springframework.data.domain.Persistable<Long>
@Entity
public class ShareProduct
extends org.apache.fineract.infrastructure.core.domain.AbstractAuditableCustom
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom
_persistence_cacheKey, _persistence_fetchGroup, _persistence_listener, _persistence_primaryKey, _persistence_session, _persistence_shouldRefreshFetchGroup -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedShareProduct(String name, String shortName, String description, String externalId, org.apache.fineract.organisation.monetary.domain.MonetaryCurrency currency, Long totalShares, Long totalSharesIssued, BigDecimal unitPrice, BigDecimal shareCapital, Long minimumShares, Long nominalShares, Long maximumShares, Set<ShareProductMarketPrice> marketPrice, Set<org.apache.fineract.portfolio.charge.domain.Charge> charges, Boolean allowDividendCalculationForInactiveClients, Integer lockinPeriod, org.apache.fineract.portfolio.common.domain.PeriodFrequencyType lockPeriodType, Integer minimumActivePeriod, org.apache.fineract.portfolio.common.domain.PeriodFrequencyType minimumActivePeriodForDividendsType, org.apache.fineract.accounting.common.AccountingRuleType accountingRuleType) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubscribedShares(Long subscribedShares) deriveMarketPrice(LocalDate currentDate) org.apache.fineract.organisation.monetary.domain.MonetaryCurrencybooleanisSharesAllowed(Long requestedShares) voidremoveSubscribedShares(Long subscribedShares) booleansetAccountingRule(Integer accountingRule) booleansetAllowDividendCalculationForInactiveClients(Boolean allowDividendCalculationForInactiveClients) booleansetCharges(Set<org.apache.fineract.portfolio.charge.domain.Charge> charges) booleansetDescription(String description) booleansetExternalId(String externalId) booleansetLockinPeriod(Integer lockinPeriod) booleansetLockPeriodFrequencyType(org.apache.fineract.portfolio.common.domain.PeriodFrequencyType lockPeriod) booleansetMarketPrice(Set<ShareProductMarketPriceData> marketPrice) booleansetMaximumShares(Long maximumShares) booleansetminimumActivePeriod(Integer minimumActivePeriod) booleansetminimumActivePeriodFrequencyType(org.apache.fineract.portfolio.common.domain.PeriodFrequencyType minimumActivePeriodForDividends) booleansetMinimumShares(Long minimumShares) booleansetMonetaryCurrency(org.apache.fineract.organisation.monetary.domain.MonetaryCurrency currency) booleansetNominalShares(Long nominalShares) booleansetProductName(String productName) booleansetshareCapitalValue(BigDecimal shareCapitalValue) booleansetShortName(String shortName) booleansetTotalIssuedShares(Long totalSharesIssued) booleansetTotalShares(Long totalShares) booleansetUnitPrice(BigDecimal unitPrice) Methods inherited from class org.apache.fineract.infrastructure.core.domain.AbstractAuditableCustom
_persistence_get, _persistence_get_createdBy, _persistence_get_createdDate, _persistence_get_lastModifiedBy, _persistence_get_lastModifiedDate, _persistence_new, _persistence_post_clone, _persistence_set, _persistence_set_createdBy, _persistence_set_createdDate, _persistence_set_lastModifiedBy, _persistence_set_lastModifiedDate, getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDateMethods inherited from class org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom
_persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_get_id, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getId, _persistence_getPropertyChangeListener, _persistence_getSession, _persistence_isAttributeFetched, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_set_id, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setId, _persistence_setPropertyChangeListener, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, getId, isNew, setIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.domain.Persistable
getId, isNewMethods inherited from interface org.eclipse.persistence.internal.descriptors.PersistenceObject
_persistence_shallow_clone
-
Field Details
-
accountingRule
-
-
Constructor Details
-
ShareProduct
protected ShareProduct() -
ShareProduct
public ShareProduct(String name, String shortName, String description, String externalId, org.apache.fineract.organisation.monetary.domain.MonetaryCurrency currency, Long totalShares, Long totalSharesIssued, BigDecimal unitPrice, BigDecimal shareCapital, Long minimumShares, Long nominalShares, Long maximumShares, Set<ShareProductMarketPrice> marketPrice, Set<org.apache.fineract.portfolio.charge.domain.Charge> charges, Boolean allowDividendCalculationForInactiveClients, Integer lockinPeriod, org.apache.fineract.portfolio.common.domain.PeriodFrequencyType lockPeriodType, Integer minimumActivePeriod, org.apache.fineract.portfolio.common.domain.PeriodFrequencyType minimumActivePeriodForDividendsType, org.apache.fineract.accounting.common.AccountingRuleType accountingRuleType)
-
-
Method Details
-
setProductName
-
getProductName
-
setShortName
-
setDescription
-
setExternalId
-
setMonetaryCurrency
public boolean setMonetaryCurrency(org.apache.fineract.organisation.monetary.domain.MonetaryCurrency currency) -
getCurrency
public org.apache.fineract.organisation.monetary.domain.MonetaryCurrency getCurrency() -
setUnitPrice
-
setMarketPrice
-
setCharges
-
setAllowDividendCalculationForInactiveClients
public boolean setAllowDividendCalculationForInactiveClients(Boolean allowDividendCalculationForInactiveClients) -
setLockinPeriod
-
setLockPeriodFrequencyType
public boolean setLockPeriodFrequencyType(org.apache.fineract.portfolio.common.domain.PeriodFrequencyType lockPeriod) -
setminimumActivePeriod
-
setminimumActivePeriodFrequencyType
public boolean setminimumActivePeriodFrequencyType(org.apache.fineract.portfolio.common.domain.PeriodFrequencyType minimumActivePeriodForDividends) -
getShortName
-
setAccountingRule
-
getUnitPrice
-
getAccountingType
-
deriveMarketPrice
-