OptaPlanner distribution 6.0.2-SNAPSHOT

org.optaplanner.examples.projectjobscheduling.domain.resource
Class LocalResource

java.lang.Object
  extended by org.optaplanner.examples.common.domain.AbstractPersistable
      extended by org.optaplanner.examples.projectjobscheduling.domain.resource.Resource
          extended by org.optaplanner.examples.projectjobscheduling.domain.resource.LocalResource
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>

public class LocalResource
extends Resource

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
LocalResource()
           
 
Method Summary
 Project getProject()
           
 boolean isRenewable()
           
 void setProject(Project project)
           
 void setRenewable(boolean renewable)
           
 
Methods inherited from class org.optaplanner.examples.projectjobscheduling.domain.resource.Resource
getCapacity, setCapacity
 
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
compareTo, getId, setId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalResource

public LocalResource()
Method Detail

getProject

public Project getProject()

setProject

public void setProject(Project project)

isRenewable

public boolean isRenewable()
Specified by:
isRenewable in class Resource

setRenewable

public void setRenewable(boolean renewable)

OptaPlanner distribution 6.0.2-SNAPSHOT

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.