org.company.thesandbox.domain
Class OrderLineImplBase

java.lang.Object
  extended by org.company.thesandbox.domain.OrderLineImplBase
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OrderLine

public abstract class OrderLineImplBase
extends java.lang.Object
implements java.io.Serializable

Author:
Generated by Mod4j BusinessDomain DSL
See Also:
Serialized Form

Field Summary
static int LINENUMBER_MAXVALUE
           
static int LINENUMBER_MINVALUE
           
protected  org.mod4j.runtime.validation.BusinessRuleValidationSupport validation
          validation : Responsible for validating attribute constraints and businessrules for this business class.
 
Constructor Summary
protected OrderLineImplBase()
          Default no-argument constructor for OrderLineImplBase
  OrderLineImplBase(int lineNumber, java.lang.String description, float lineAmount)
          Minimal constructor for OrderLineImplBase
 
Method Summary
 void activateValidation(boolean value)
          Activate/deactivate validation for this business class.
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 float getLineAmount()
           
 int getLineNumber()
           
 Record getRecord()
           
 void setDescription(java.lang.String description)
           
 void setLineAmount(float lineAmount)
           
 void setLineNumber(int lineNumber)
           
 void setRecord(Record element)
          Implements adding single element to a collection
 void z_internalRemoverecord(Record element)
          This operation should NOT be used by clients.
 void z_internalSetrecord(Record element)
          This operation should NOT be used by clients.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validation

protected org.mod4j.runtime.validation.BusinessRuleValidationSupport validation
validation : Responsible for validating attribute constraints and businessrules for this business class.


LINENUMBER_MINVALUE

public static final int LINENUMBER_MINVALUE
See Also:
Constant Field Values

LINENUMBER_MAXVALUE

public static final int LINENUMBER_MAXVALUE
See Also:
Constant Field Values
Constructor Detail

OrderLineImplBase

protected OrderLineImplBase()
Default no-argument constructor for OrderLineImplBase


OrderLineImplBase

public OrderLineImplBase(int lineNumber,
                         java.lang.String description,
                         float lineAmount)
Minimal constructor for OrderLineImplBase

Parameters:
lineNumber - (integer)
description - (string)
lineAmount - (decimal)
Method Detail

getId

public java.lang.Long getId()
Returns:
id (Long) The identifier of this object.

getRecord

public Record getRecord()
Returns:
record (Set)

setRecord

public void setRecord(Record element)
Implements adding single element to a collection


z_internalSetrecord

public void z_internalSetrecord(Record element)
This operation should NOT be used by clients. It implements the correct setting of an element in an association.

Parameters:
element -

z_internalRemoverecord

public void z_internalRemoverecord(Record element)
This operation should NOT be used by clients. It implements the correct removal of an element in an association.

Parameters:
element -

getLineNumber

public int getLineNumber()
Returns:
lineNumber (int)

getDescription

public java.lang.String getDescription()
Returns:
description (String)

getLineAmount

public float getLineAmount()
Returns:
lineAmount (float)

setLineNumber

public void setLineNumber(int lineNumber)
Parameters:
lineNumber - (int)

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - (String)

setLineAmount

public void setLineAmount(float lineAmount)
Parameters:
lineAmount - (float)

activateValidation

public void activateValidation(boolean value)
Activate/deactivate validation for this business class. When set to active the validation will immediately be executed.

Parameters:
value - (boolean)


Copyright © 2010. All Rights Reserved.