org.zeroexchange.model.resource.good
Class GoodResource

java.lang.Object
  extended by org.zeroexchange.model.Persistent
      extended by org.zeroexchange.model.IntegerPKPersistent
          extended by org.zeroexchange.model.resource.Resource
              extended by org.zeroexchange.model.resource.good.GoodResource
All Implemented Interfaces:
Serializable, Identifiable<Integer>, SharedViewable

@Entity
public class GoodResource
extends Resource

Author:
black
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.zeroexchange.model.resource.Resource
FIELD_AMOUNT, FIELD_CATEGORY, FIELD_CONTRACT, FIELD_DESCRIPTION, FIELD_NEEDS, FIELD_OWNER, FIELD_SUPPLIES, FIELD_TITLE
 
Fields inherited from interface org.zeroexchange.model.SharedViewable
FIELD_VIEWERS
 
Fields inherited from interface org.zeroexchange.model.Identifiable
FIELD_ID
 
Constructor Summary
GoodResource()
           
 
Method Summary
 MaterialType getMaterialType()
           
 UnitOfMeasure getUnitOfMeasure()
           
 void setMaterialType(MaterialType materialType)
           
 void setUnitOfMeasure(UnitOfMeasure unitOfMeasure)
           
 
Methods inherited from class org.zeroexchange.model.resource.Resource
getContract, getDescription, getNeeds, getOwner, getProductionHours, getSpecification, getSupplies, getTendersMultiplicity, getTitle, getViewers, setContract, setDescription, setNeeds, setOwner, setProductionHours, setSpecification, setSupplies, setTendersMultiplicity, setTitle, setViewers
 
Methods inherited from class org.zeroexchange.model.IntegerPKPersistent
equals, getId, hashCode, setId
 
Methods inherited from class org.zeroexchange.model.Persistent
getTransientValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoodResource

public GoodResource()
Method Detail

getUnitOfMeasure

public UnitOfMeasure getUnitOfMeasure()

setUnitOfMeasure

public void setUnitOfMeasure(UnitOfMeasure unitOfMeasure)

getMaterialType

public MaterialType getMaterialType()

setMaterialType

public void setMaterialType(MaterialType materialType)


Copyright © 2013. All Rights Reserved.