org.sciplore.resources
Class Venue

java.lang.Object
  extended by org.sciplore.resources.Resource
      extended by org.sciplore.resources.Venue

@Entity
public class Venue
extends Resource


Field Summary
static short VENUE_TYPE_BOOK
           
static short VENUE_TYPE_CONFERENCE
           
static short VENUE_TYPE_JOURNAL
           
static short VENUE_TYPE_MISC
           
static short VENUE_TYPE_PROCEEDINGS
           
 
Constructor Summary
Venue()
           
Venue(String name)
           
Venue(String name, Short type)
           
 
Method Summary
 String getAbbreviation()
           
 String getAddress()
           
 Integer getId()
           
 String getName()
           
 Short getType()
           
 Short getValid()
           
static Venue getVenue(String name)
           
 void setAbbreviation(String abbreviation)
           
 void setAddress(String address)
           
 void setId(Integer id)
           
 void setName(String name)
           
 void setType(Short type)
           
 void setValid(Short valid)
           
static Venue sync(Venue venue)
           
 
Methods inherited from class org.sciplore.resources.Resource
save
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VENUE_TYPE_JOURNAL

public static final short VENUE_TYPE_JOURNAL
See Also:
Constant Field Values

VENUE_TYPE_CONFERENCE

public static final short VENUE_TYPE_CONFERENCE
See Also:
Constant Field Values

VENUE_TYPE_BOOK

public static final short VENUE_TYPE_BOOK
See Also:
Constant Field Values

VENUE_TYPE_PROCEEDINGS

public static final short VENUE_TYPE_PROCEEDINGS
See Also:
Constant Field Values

VENUE_TYPE_MISC

public static final short VENUE_TYPE_MISC
See Also:
Constant Field Values
Constructor Detail

Venue

public Venue()

Venue

public Venue(String name)

Venue

public Venue(String name,
             Short type)
Method Detail

getVenue

public static Venue getVenue(String name)

sync

public static Venue sync(Venue venue)

getId

public Integer getId()
Returns:
the id

setId

public void setId(Integer id)
Parameters:
id - the id to set

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getAbbreviation

public String getAbbreviation()
Returns:
the abbreviation

setAbbreviation

public void setAbbreviation(String abbreviation)
Parameters:
abbreviation - the abbreviation to set

getAddress

public String getAddress()
Returns:
the address

setAddress

public void setAddress(String address)
Parameters:
address - the address to set

getType

public Short getType()
Returns:
the type

setType

public void setType(Short type)
Parameters:
type - the type to set

getValid

public Short getValid()
Returns:
the valid

setValid

public void setValid(Short valid)
Parameters:
valid - the valid to set