com.retek.component.item.impl
Class ShipRestrictionImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.item.impl.ShipRestrictionImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, ShipRestriction

public class ShipRestrictionImpl
extends DistributedObjectImpl
implements ShipRestriction


Nested Class Summary
 
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl
DistributedObjectImpl.DtoBurgular
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.item.ShipRestriction
ADDRESS_DETAIL, CARRIER, ITEM
 
Constructor Summary
ShipRestrictionImpl(DistributedContext context, DistributedReference reference)
           
ShipRestrictionImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
 
Method Summary
 void addAddressCodeDetail(AddressCodeDetail detail)
           
 AddressCode getAddressCode()
           
 java.util.Collection getAddressCodeDetails()
           
 Carrier getCarrier()
           
 ConveyableType getConveyableType()
           
 ShipRestrictionDto getDto()
           
 Item getItem()
           
protected  Dto readLatest()
           
 void removeAddressCodeDetail(AddressCodeDetail addressCodeDetail)
           
 void setAddressCode(AddressCode code)
           
 void setCarrier(Carrier carrier)
           
 void setConveyableType(ConveyableType conveyableType)
           
 void setItem(Item item)
           
 void submit()
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, toString, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.retek.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

ShipRestrictionImpl

public ShipRestrictionImpl(DistributedContext context,
                           DistributedReference reference,
                           boolean createHollow)
                    throws SystemException

ShipRestrictionImpl

public ShipRestrictionImpl(DistributedContext context,
                           DistributedReference reference)
                    throws SystemException
Method Detail

readLatest

protected Dto readLatest()
                  throws SystemException
Overrides:
readLatest in class DistributedObjectImpl
Throws:
SystemException

getDto

public ShipRestrictionDto getDto()
                          throws SystemException
Throws:
SystemException

getCarrier

public Carrier getCarrier()
                   throws SystemException
Specified by:
getCarrier in interface ShipRestriction
Throws:
SystemException

getAddressCode

public AddressCode getAddressCode()
                           throws SystemException
Specified by:
getAddressCode in interface ShipRestriction
Throws:
SystemException

getConveyableType

public ConveyableType getConveyableType()
                                 throws SystemException
Specified by:
getConveyableType in interface ShipRestriction
Throws:
SystemException

getItem

public Item getItem()
             throws SystemException
Specified by:
getItem in interface ShipRestriction
Throws:
SystemException

setCarrier

public void setCarrier(Carrier carrier)
                throws SystemException
Specified by:
setCarrier in interface ShipRestriction
Throws:
SystemException

setConveyableType

public void setConveyableType(ConveyableType conveyableType)
                       throws SystemException
Specified by:
setConveyableType in interface ShipRestriction
Throws:
SystemException

setItem

public void setItem(Item item)
             throws SystemException
Specified by:
setItem in interface ShipRestriction
Throws:
SystemException

setAddressCode

public void setAddressCode(AddressCode code)
                    throws SystemException
Specified by:
setAddressCode in interface ShipRestriction
Throws:
SystemException

addAddressCodeDetail

public void addAddressCodeDetail(AddressCodeDetail detail)
                          throws SystemException,
                                 BusinessException
Specified by:
addAddressCodeDetail in interface ShipRestriction
Throws:
SystemException
BusinessException

getAddressCodeDetails

public java.util.Collection getAddressCodeDetails()
                                           throws SystemException
Specified by:
getAddressCodeDetails in interface ShipRestriction
Throws:
SystemException

removeAddressCodeDetail

public void removeAddressCodeDetail(AddressCodeDetail addressCodeDetail)
                             throws SystemException
Specified by:
removeAddressCodeDetail in interface ShipRestriction
Throws:
SystemException

submit

public void submit()
            throws BusinessException,
                   SystemException
Specified by:
submit in interface ShipRestriction
Throws:
BusinessException
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28