org.opencrx.kernel.contract1.cci2.Lead Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.contract1.cci2;
/**
* Class {@code Lead}
*
* isFrozen
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:36.608369143Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface Lead
extends org.opencrx.kernel.contract1.cci2.SalesContract{
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code closeProbability}.
* @return The possibly null value for attribute {@code closeProbability}.
*/
public java.lang.Short getCloseProbability(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code closeProbability}.
* @param closeProbability The possibly null new value for attribute {@code closeProbability}.
*/
public void setCloseProbability(
java.lang.Short closeProbability
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.opencrx.kernel.contract1.cci2.LeadCreateOpportunityResult createOpportunity(
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code estimatedCloseDate}.
* @return The possibly null value for attribute {@code estimatedCloseDate}.
*/
public java.util.Date getEstimatedCloseDate(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code estimatedCloseDate}.
* @param estimatedCloseDate The possibly null new value for attribute {@code estimatedCloseDate}.
*/
public void setEstimatedCloseDate(
java.util.Date estimatedCloseDate
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code estimatedSalesCommission}.
* @return The possibly null value for attribute {@code estimatedSalesCommission}.
*/
public java.math.BigDecimal getEstimatedSalesCommission(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code estimatedSalesCommission}.
* @param estimatedSalesCommission The possibly null new value for attribute {@code estimatedSalesCommission}.
*/
public void setEstimatedSalesCommission(
java.math.BigDecimal estimatedSalesCommission
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code estimatedValue}.
* @return The possibly null value for attribute {@code estimatedValue}.
*/
public java.math.BigDecimal getEstimatedValue(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code estimatedValue}.
* @param estimatedValue The possibly null new value for attribute {@code estimatedValue}.
*/
public void setEstimatedValue(
java.math.BigDecimal estimatedValue
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute {@code leadRating}.
* @return The non-null value for attribute {@code leadRating}.
*/
public short getLeadRating(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code leadRating}.
* @param leadRating The non-{@code null} new value for attribute {@code leadRating}.
*/
public void setLeadRating(
short leadRating
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute {@code leadSource}.
* @return The non-null value for attribute {@code leadSource}.
*/
public short getLeadSource(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code leadSource}.
* @param leadSource The non-{@code null} new value for attribute {@code leadSource}.
*/
public void setLeadSource(
short leadSource
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.openmdx.base.cci2.Void markAsClosed(
org.opencrx.kernel.contract1.cci2.LeadMarkAsClosedParams in
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code nextStep}.
* @return The possibly null value for attribute {@code nextStep}.
*/
public java.lang.String getNextStep(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code nextStep}.
* @param nextStep The possibly null new value for attribute {@code nextStep}.
*/
public void setNextStep(
java.lang.String nextStep
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nNoQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the {@code Collection} of objects referenced by {@code opportunity}.
* @return The {@code Collection} of referenced objects.
*/
public java.util.List getOpportunity(
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/Containment
// ----------------------------------------------------------------------------
/**
* Object Identity
*/
public interface Identity extends org.oasisopen.cci2.Identity {
/**
* Retrieve the {@code Segment}'s identity
* @return the parent object's identity
*/
public org.openmdx.base.cci2.Segment.Identity getSegment();
/**
* Tells whether the {@code id} value is persistent or reassignable.
* @return {@code PERSISTENT} or {@code REASSIGNABLE}
*/
public org.oasisopen.cci2.QualifierType getIdType();
/**
* The {@code id} value
* @return the {@code id} value
*/
public java.lang.String getId();
}
}