|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.ed.SimpleArbitratedName
edu.vt.middleware.ed.AbstractReservation
edu.vt.middleware.ed.PermNameReservation
public final class PermNameReservation
Contains attributes that specify one permanent reservation.
| Field Summary | |
|---|---|
private Boolean |
active
active status |
private String |
comments
comments |
static int |
COMMENTS_MAXLENGTH
Maximum length of comments |
static int |
CREATED_BY_MAXLENGTH
Maximum length of created by |
static Boolean |
DEFAULT_ACTIVE_STATUS
active status default value |
static ArbitratedDataSource |
DEFAULT_DATASOURCE
data source default value |
static String |
FIND_BY_NAME
Constant for named query |
static String |
FIND_BY_NAME_AND_NAMESPACE
Constant for named query |
static String |
FIND_BY_NAME_CI
Constant for named query |
static String |
FIND_BY_NAME_CI_AND_NAMESPACE
Constant for named query |
static String |
FIND_BY_NAMESPACE
Constant for named query |
static int |
MODIFIED_BY_MAXLENGTH
Maximum length of modified by |
static int |
NAME_MAXLENGTH
Maximum length of name |
static String |
NAME_PARAMETER
Constant for named query |
static String |
NAMESPACE_PARAMETER
Constant for named query |
private static long |
serialVersionUID
serial version UID |
| Fields inherited from class edu.vt.middleware.ed.AbstractReservation |
|---|
DEFAULT_DATASOURCE_CLIENT |
| Constructor Summary | |
|---|---|
PermNameReservation()
Default constructor. |
|
| Method Summary | |
|---|---|
private Boolean |
copyBoolean(Boolean sourceVal)
Copies a Boolean value into a new instance, to safely store the
value from / return the value to a calling routine. |
Boolean |
getActive()
Gets the active status of the reservation. |
String |
getComments()
Gets the comments of the reservation |
Long |
getUid()
This returns the uid. |
protected String |
nonCoreAttributesToString()
Provides a string representation of the non-core attributes of the arbitrated entry. |
void |
reset()
Initializes the reservation instance to the empty state. |
void |
setActive(Boolean activeValue)
Sets the active status of the reservation. |
void |
setComments(String commentsValue)
Sets the comments of the reservation. |
void |
setUid(Long l)
This sets the uid. |
| Methods inherited from class edu.vt.middleware.ed.AbstractReservation |
|---|
copyCalendar, coreAttributesToString, getCreatedBy, getCreationDate, getModificationDate, getModifiedBy, setCreatedBy, setCreationDate, setModificationDate, setModifiedBy |
| Methods inherited from class edu.vt.middleware.ed.SimpleArbitratedName |
|---|
clone, compareTo, getDataSource, getDn, getName, getNamespace, getRegistryNamespace, setDataSource, setDn, setName, setNamespace, setRegistryNamespace, toString, toStringFull, updateDataSource |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface edu.vt.middleware.ed.ArbitratedName |
|---|
clone, getDataSource, getDn, getName, getNamespace, setDataSource, setDn, setName, setNamespace, toStringFull, updateDataSource |
| Field Detail |
|---|
public static final String FIND_BY_NAMESPACE
public static final String FIND_BY_NAME
public static final String FIND_BY_NAME_CI
public static final String FIND_BY_NAME_AND_NAMESPACE
public static final String FIND_BY_NAME_CI_AND_NAMESPACE
public static final String NAME_PARAMETER
public static final String NAMESPACE_PARAMETER
public static final Boolean DEFAULT_ACTIVE_STATUS
public static final ArbitratedDataSource DEFAULT_DATASOURCE
public static final int COMMENTS_MAXLENGTH
public static final int CREATED_BY_MAXLENGTH
public static final int MODIFIED_BY_MAXLENGTH
public static final int NAME_MAXLENGTH
private static final long serialVersionUID
private Boolean active
private String comments
| Constructor Detail |
|---|
public PermNameReservation()
| Method Detail |
|---|
public Long getUid()
getUid in interface DataObjectgetUid in class AbstractReservationLong - uidpublic void setUid(Long l)
setUid in interface DataObjectsetUid in class AbstractReservationl - Long to setpublic Boolean getActive()
public void setActive(Boolean activeValue)
activeValue - the active status of the reservationpublic String getComments()
public void setComments(String commentsValue)
commentsValue - the comments of the reservationpublic void reset()
reset in class AbstractReservationprivate Boolean copyBoolean(Boolean sourceVal)
Boolean value into a new instance, to safely store the
value from / return the value to a calling routine.
sourceVal - value to copy
protected String nonCoreAttributesToString()
nonCoreAttributesToString in class AbstractReservationSimpleArbitratedName.coreAttributesToString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||