org.opencrx.kernel.contract1.cci2.Opportunity Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.contract1.cci2;
/**
* Class {@code Opportunity}
*
* isFrozen
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:36.616577977Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface Opportunity
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.OpportunityCreateQuoteResult createQuote(
);
// ----------------------------------------------------------------------------
// 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 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/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.openmdx.base.cci2.Void markAsClosed(
org.opencrx.kernel.contract1.cci2.OpportunityMarkAsClosedParams 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/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute {@code opportunityRating}.
* @return The non-null value for attribute {@code opportunityRating}.
*/
public short getOpportunityRating(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code opportunityRating}.
* @param opportunityRating The non-{@code null} new value for attribute {@code opportunityRating}.
*/
public void setOpportunityRating(
short opportunityRating
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute {@code opportunitySource}.
* @return The non-null value for attribute {@code opportunitySource}.
*/
public short getOpportunitySource(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code opportunitySource}.
* @param opportunitySource The non-{@code null} new value for attribute {@code opportunitySource}.
*/
public void setOpportunitySource(
short opportunitySource
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves a set containing all the elements for the reference {@code position}.
* @return A set containing all the elements for this reference.
*/
public org.opencrx.kernel.contract1.cci2.OpportunityHasOpportunityPosition.Position getPosition(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nNoQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the {@code Collection} of objects referenced by {@code quote}.
* @return The {@code Collection} of referenced objects.
*/
public java.util.List getQuote(
);
// ----------------------------------------------------------------------------
// 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();
}
}