public abstract class AbstractResource
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
AbstractResource.BlockType |
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
_blockedDuration |
protected AbstractResource.BlockType |
_blockType |
protected java.lang.String |
_description |
protected boolean |
_isAvailable |
protected java.lang.String |
_notes |
protected java.lang.String |
_resourceID |
Modifier | Constructor and Description |
---|---|
protected |
AbstractResource() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
clone() |
boolean |
equals(java.lang.Object o) |
long |
getBlockedDuration() |
java.lang.String |
getBlockType() |
java.lang.String |
getDescription() |
java.lang.String |
getID() |
abstract java.lang.String |
getName() |
java.lang.String |
getNotes() |
int |
hashCode() |
boolean |
isAvailable() |
boolean |
isAvailable(long from,
long to) |
protected void |
merge(AbstractResource resource) |
void |
setBlockedDuration(long duration) |
void |
setBlockedDuration(java.lang.String duration) |
void |
setBlockType(java.lang.String s) |
void |
setDescription(java.lang.String desc) |
void |
setID(java.lang.String id) |
void |
setNotes(java.lang.String notes) |
java.lang.String |
toString() |
protected java.lang.String _resourceID
protected boolean _isAvailable
protected java.lang.String _description
protected java.lang.String _notes
protected java.lang.Long _blockedDuration
protected AbstractResource.BlockType _blockType
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
protected void merge(AbstractResource resource)
public abstract java.lang.String getName()
public java.lang.String getID()
public void setID(java.lang.String id)
public boolean isAvailable()
public boolean isAvailable(long from, long to)
public java.lang.String getNotes()
public void setNotes(java.lang.String notes)
public java.lang.String getDescription()
public void setDescription(java.lang.String desc)
public long getBlockedDuration()
public void setBlockedDuration(long duration)
public void setBlockedDuration(java.lang.String duration)
public java.lang.String getBlockType()
public void setBlockType(java.lang.String s)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2004-2014 The YAWL Foundation.