|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.depot1.jdo2.SimpleBooking
public class SimpleBooking
Class SimpleBooking
| Nested Class Summary | |
|---|---|
static class |
SimpleBooking.Identity
The object's application identity |
static class |
SimpleBooking.Slice
Slice object hold the SimpleBooking's multivalued attributes |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
| Field Summary | |
|---|---|
static List<String> |
BASE_CLASS
Define this class as base class |
static List<String> |
CLASS
Define the model class org::opencrx::kernel::depot1::SimpleBooking |
| Constructor Summary | |
|---|---|
SimpleBooking()
|
|
| Method Summary | ||
|---|---|---|
ModifySecureObjectResult |
addOwningGroup(ModifyOwningGroupParams in)
|
|
void |
addToSegment(Segment segment)
Sets a new value for the reference segment. |
|
void |
addToSegment(Segment segment,
boolean idIsPersistent,
String id)
Set the object's composite association org:opencrx:kernel:depot1:SegmentContainsSimpleBooking. |
|
CheckPermissionsResult |
checkPermissions(CheckPermissionsParams in)
|
|
ContextCapable |
getAccessGrantedByParent()
Retrieves the value for the reference accessGrantedByParent. |
|
short |
getAccessLevelBrowse()
Retrieves the value for the attribute accessLevelBrowse. |
|
short |
getAccessLevelDelete()
Retrieves the value for the attribute accessLevelDelete. |
|
short |
getAccessLevelUpdate()
Retrieves the value for the attribute accessLevelUpdate. |
|
|
getAdditionalDescription()
Retrieves a set containing all the elements for the reference additionalDescription. |
|
Date |
getBookingDate()
Retrieves the value for the attribute bookingDate. |
|
short |
getBookingStatus()
Retrieves the value for the attribute bookingStatus. |
|
short |
getBookingType()
Retrieves the value for the attribute bookingType. |
|
|
getContext()
Retrieves the Mao of objects referenced by context. |
|
Date |
getCreatedAt()
Retrieves the value for the attribute createdAt. |
|
Set<String> |
getCreatedBy()
Retrieves a set containing all the elements for the attribute createdBy. |
|
String |
getDescription()
Retrieves the possibly null value for the optional attribute description. |
|
String |
getIdentity()
Retrieves the value for the attribute identity. |
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
|
Set<String> |
getModifiedBy()
Retrieves a set containing all the elements for the attribute modifiedBy. |
|
String |
getName()
Retrieves the value for the attribute name. |
|
|
getOriginContext()
Retrieves the Collection of objects referenced by originContext. |
|
List<String> |
getOriginContextParams()
Retrieves a list containing all the elements for the attribute originContextParams. |
|
String |
getOriginId()
Retrieves the possibly null value for the optional attribute originId. |
|
List<String> |
getOwner()
Retrieves a list containing all the elements for the attribute owner. |
|
|
getOwningGroup()
Retrieves the Collection of objects referenced by owningGroup. |
|
User |
getOwningUser()
Retrieves the value for the reference owningUser. |
|
DepotPosition |
getPosition()
Retrieves the value for the reference position. |
|
|
getProperty()
Retrieves a set containing all the elements for the reference property. |
|
BigDecimal |
getQuantity()
Retrieves the value for the attribute quantity. |
|
Uom |
getQuantityUom()
Retrieves the value for the reference quantityUom. |
|
Date |
getValueDate()
Retrieves the value for the attribute valueDate. |
|
static SimpleBooking.Identity |
newIdentity(Segment.Identity segment,
QualifierType idType,
String id)
|
|
protected org.w3c.jdo2.AbstractObject.Slice |
newSlice(int index)
|
|
protected List<String> |
openmdxjdoGetClass()
Retrieve the model class |
|
protected String |
openmdxjdoGetObjectId()
Retrieve the object's JDO identity key |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected
|
openmdxjdoGetSlices()
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
static SimpleBooking.Identity |
openmdxjdoToIdentity(ObjectId objectId)
|
|
ModifySecureObjectResult |
removeAllOwningGroup(RemoveAllOwningGroupParams in)
|
|
ModifySecureObjectResult |
removeOwningGroup(ModifyOwningGroupParams in)
|
|
ModifySecureObjectResult |
replaceOwningGroup(ModifyOwningGroupsParams in)
|
|
ModifySecureObjectResult |
setAccessLevel(SetAccessLevelParams in)
|
|
void |
setAccessLevelBrowse(short accessLevelBrowse)
Sets a new value for the attribute accessLevelBrowse. |
|
void |
setAccessLevelDelete(short accessLevelDelete)
Sets a new value for the attribute accessLevelDelete. |
|
void |
setAccessLevelUpdate(short accessLevelUpdate)
Sets a new value for the attribute accessLevelUpdate. |
|
void |
setBookingDate(Date bookingDate)
Sets a new value for the attribute bookingDate. |
|
void |
setBookingStatus(short bookingStatus)
Sets a new value for the attribute bookingStatus. |
|
void |
setBookingType(short bookingType)
Sets a new value for the attribute bookingType. |
|
void |
setDescription(String description)
Sets a new value for the attribute description. |
|
void |
setName(String name)
Sets a new value for the attribute name. |
|
void |
setOriginContextParams(String... originContextParams)
Clears originContextParams and adds the given value(s). |
|
void |
setOriginId(String originId)
Sets a new value for the attribute originId. |
|
ModifySecureObjectResult |
setOwningUser(SetOwningUserParams in)
|
|
void |
setOwningUser(User owningUser)
Sets a new value for the reference owningUser. |
|
void |
setPosition(DepotPosition position)
Sets a new value for the reference position. |
|
void |
setQuantity(BigDecimal quantity)
Sets a new value for the attribute quantity. |
|
void |
setQuantityUom(Uom quantityUom)
Sets a new value for the reference quantityUom. |
|
void |
setValueDate(Date valueDate)
Sets a new value for the attribute valueDate. |
|
| Methods inherited from class org.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::depot1::SimpleBooking
public static final List<String> BASE_CLASS
SimpleBooking.CLASS| Constructor Detail |
|---|
public SimpleBooking()
| Method Detail |
|---|
protected String openmdxjdoGetObjectId()
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiableprotected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObjectpublic DepotPosition getPosition()
position.
getPosition in interface Bookingnull – value for this reference.public void setPosition(DepotPosition position)
position.
setPosition in interface Bookingposition - The non-null new value for this reference.public short getAccessLevelDelete()
accessLevelDelete.
getAccessLevelDelete in interface SecureObjectaccessLevelDelete.public void setAccessLevelDelete(short accessLevelDelete)
accessLevelDelete.
setAccessLevelDelete in interface SecureObjectaccessLevelDelete - The non-null new value for attribute accessLevelDelete.public Date getModifiedAt()
modifiedAt.
getModifiedAt in interface ModifiablemodifiedAt.public final Set<String> getModifiedBy()
modifiedBy.
getModifiedBy in interface Modifiablepublic short getBookingType()
bookingType.
getBookingType in interface BookingbookingType.public void setBookingType(short bookingType)
bookingType.
setBookingType in interface BookingbookingType - The non-null new value for attribute bookingType.public <T extends Description> DescriptionContainerContainsDescription.AdditionalDescription<T> getAdditionalDescription()
additionalDescription.
getAdditionalDescription in interface DescriptionContainerpublic short getAccessLevelBrowse()
accessLevelBrowse.
getAccessLevelBrowse in interface SecureObjectaccessLevelBrowse.public void setAccessLevelBrowse(short accessLevelBrowse)
accessLevelBrowse.
setAccessLevelBrowse in interface SecureObjectaccessLevelBrowse - The non-null new value for attribute accessLevelBrowse.public <T extends BasicObject> List<T> getOriginContext()
Collection of objects referenced by originContext.
getOriginContext in interface SimpleBookingCollection of referenced objects.public String getIdentity()
identity.
getIdentity in interface ExtentCapableidentity.public final String getDescription()
description.
getDescription in interface Bookingdescription.public void setDescription(String description)
description.
setDescription in interface Bookingdescription - The possibly null new value for attribute description.public Date getCreatedAt()
createdAt.
getCreatedAt in interface CreatablecreatedAt.public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
removeAllOwningGroup in interface SecureObjectpublic String getName()
name.
getName in interface Bookingname.public void setName(String name)
name.
setName in interface Bookingname - The non-null new value for attribute name.public BigDecimal getQuantity()
quantity.
getQuantity in interface SimpleBookingquantity.public void setQuantity(BigDecimal quantity)
quantity.
setQuantity in interface SimpleBookingquantity - The non-null new value for attribute quantity.public ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
setOwningUser in interface SecureObjectpublic <T extends PrincipalGroup> List<T> getOwningGroup()
Collection of objects referenced by owningGroup.
getOwningGroup in interface SecureObjectCollection of referenced objects.public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
addOwningGroup in interface SecureObjectpublic Date getBookingDate()
bookingDate.
getBookingDate in interface BookingbookingDate.public void setBookingDate(Date bookingDate)
bookingDate.
setBookingDate in interface BookingbookingDate - The non-null new value for attribute bookingDate.public Date getValueDate()
valueDate.
getValueDate in interface BookingvalueDate.public void setValueDate(Date valueDate)
valueDate.
setValueDate in interface BookingvalueDate - The non-null new value for attribute valueDate.public final String getOriginId()
originId.
getOriginId in interface SimpleBookingoriginId.public void setOriginId(String originId)
originId.
setOriginId in interface SimpleBookingoriginId - The possibly null new value for attribute originId.public Uom getQuantityUom()
quantityUom.
getQuantityUom in interface SimpleBookingnull – value for this reference.public void setQuantityUom(Uom quantityUom)
quantityUom.
setQuantityUom in interface SimpleBookingquantityUom - The non-null new value for this reference.public final List<String> getOriginContextParams()
originContextParams.
getOriginContextParams in interface SimpleBookingpublic void setOriginContextParams(String... originContextParams)
originContextParams and adds the given value(s).
This method is equivalent to
list.clear();
for(java.lang.String e : attributeName){
list.add(e);
}
setOriginContextParams in interface SimpleBookingoriginContextParams - value(s) to be added to originContextParamspublic CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
checkPermissions in interface SecureObjectpublic <T extends Property> PropertySetContainsProperty.Property<T> getProperty()
property.
getProperty in interface PropertySetpublic ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
removeOwningGroup in interface SecureObjectpublic short getAccessLevelUpdate()
accessLevelUpdate.
getAccessLevelUpdate in interface SecureObjectaccessLevelUpdate.public void setAccessLevelUpdate(short accessLevelUpdate)
accessLevelUpdate.
setAccessLevelUpdate in interface SecureObjectaccessLevelUpdate - The non-null new value for attribute accessLevelUpdate.public final Set<String> getCreatedBy()
createdBy.
getCreatedBy in interface Creatablepublic ContextCapable getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
setAccessLevel in interface SecureObjectpublic final List<String> getOwner()
owner.
getOwner in interface SecureObjectpublic ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
replaceOwningGroup in interface SecureObjectpublic <T extends Context> Map<String,T> getContext()
Mao of objects referenced by context.
getContext in interface ContextCapableMap of referenced objects.public User getOwningUser()
owningUser.
getOwningUser in interface SecureObjectnull – value for this reference.public void setOwningUser(User owningUser)
owningUser.
setOwningUser in interface SecureObjectowningUser - The non-null new value for this reference.public short getBookingStatus()
bookingStatus.
getBookingStatus in interface BookingbookingStatus.public void setBookingStatus(short bookingStatus)
bookingStatus.
setBookingStatus in interface BookingbookingStatus - The non-null new value for attribute bookingStatus.protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObjectprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
protected List<String> openmdxjdoGetClass()
SimpleBooking.CLASSpublic void addToSegment(Segment segment)
segment.
segment - The non-null new value for this reference.
public void addToSegment(Segment segment,
boolean idIsPersistent,
String id)
org:opencrx:kernel:depot1:SegmentContainsSimpleBooking.
segment - The non-null new value for this object's composite owner.idIsPersistent - Defines whether the id is persistent.id - The non-null new value for this object's qualifier.
public static SimpleBooking.Identity newIdentity(Segment.Identity segment,
QualifierType idType,
String id)
public static SimpleBooking.Identity openmdxjdoToIdentity(ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||