@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class Share extends Session implements java.io.Serializable, IObject, IGlobal, IMutable
Session.Details
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
active |
static java.lang.String |
ACTIVE |
protected byte[] |
data |
static java.lang.String |
DATA |
static java.util.Set<java.lang.String> |
FIELDS |
protected ExperimenterGroup |
group |
static java.lang.String |
GROUP |
protected java.lang.Long |
itemCount |
static java.lang.String |
ITEMCOUNT |
_dynamicFields, _loaded, annotationLinks, ANNOTATIONLINKS, ANNOTATIONLINKSCOUNTPEROWNER, closed, CLOSED, defaultEventType, DEFAULTEVENTTYPE, details, DETAILS, EVENT_FILTER_ANNOTATIONLINKS, events, EVENTS, GROUP_FILTER_ANNOTATIONLINKS, id, ID, message, MESSAGE, node, NODE, owner, OWNER, OWNER_FILTER_ANNOTATIONLINKS, PERMS_FILTER_ANNOTATIONLINKS, started, STARTED, sudoer, SUDOER, timeToIdle, TIMETOIDLE, timeToLive, TIMETOLIVE, userAgent, USERAGENT, userIP, USERIP, uuid, UUID, version, VERSION
Modifier | Constructor and Description |
---|---|
|
Share() |
|
Share(ExperimenterGroup _group,
java.lang.Long _itemCount,
java.lang.Boolean _active,
byte[] _data) |
protected |
Share(java.lang.Long id) |
|
Share(java.lang.Long id,
boolean loaded)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
java.util.Set<java.lang.String> |
fields()
returns a Set of field names that belong to this class
|
java.lang.Boolean |
getActive()
Simple field ome.model.meta.Share.active (java.lang.Boolean)
|
byte[] |
getData()
Simple field ome.model.meta.Share.data (byte[])
|
ExperimenterGroup |
getGroup()
Many-to-one field ome.model.meta.Share.group (ome.model.meta.ExperimenterGroup)
|
java.lang.Long |
getItemCount()
Simple field ome.model.meta.Share.itemCount (java.lang.Long)
|
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
Share |
newInstance() |
Share |
proxy() |
void |
putAt(java.lang.String field,
java.lang.Object value)
stores a value in this instance.
|
java.lang.Object |
retrieve(java.lang.String field)
retrieves a value from this instance.
|
void |
setActive(java.lang.Boolean active) |
void |
setData(byte[] data) |
void |
setGroup(ExperimenterGroup group) |
void |
setItemCount(java.lang.Long itemCount) |
protected void |
throwNullCollectionException(java.lang.String propertyName) |
java.lang.String |
toString() |
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
Validation |
validate()
calls the class-specific validator for this instance and returns the
Validation object. |
addEvent, addEventSet, addSessionAnnotationLink, addSessionAnnotationLink, addSessionAnnotationLinkSet, clearAnnotationLinks, clearEvents, collectAnnotationLinks, collectEvents, eachLinkedAnnotation, errorIfUnloaded, findSessionAnnotationLink, getAnnotationLinks, getAnnotationLinksCountPerOwner, getClosed, getDefaultEventType, getDetails, getEvents, getGraphHolder, getId, getMessage, getNode, getOwner, getStarted, getSudoer, getTimeToIdle, getTimeToLive, getUserAgent, getUserIP, getUuid, getVersion, isLoaded, iterateAnnotationLinks, iterateEvents, linkAnnotation, linkedAnnotationIterator, linkedAnnotationList, removeEvent, removeEventSet, removeSessionAnnotationLink, removeSessionAnnotationLink, removeSessionAnnotationLinkSet, setAnnotationLinks, setAnnotationLinksCountPerOwner, setClosed, setDefaultEventType, setDetails, setEvents, setId, setMessage, setNode, setOwner, setStarted, setSudoer, setTimeToIdle, setTimeToLive, setUserAgent, setUserIP, setUuid, setVersion, sizeOfAnnotationLinks, sizeOfEvents, unlinkAnnotation, unmodifiableAnnotationLinks, unmodifiableEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersion, setVersion
getDetails, getGraphHolder, getId, isLoaded, setId
protected ExperimenterGroup group
protected java.lang.Long itemCount
protected java.lang.Boolean active
protected byte[] data
public static final java.lang.String GROUP
public static final java.lang.String ITEMCOUNT
public static final java.lang.String ACTIVE
public static final java.lang.String DATA
public static final java.util.Set<java.lang.String> FIELDS
public Share()
protected Share(java.lang.Long id)
public Share(java.lang.Long id, boolean loaded)
public Share(ExperimenterGroup _group, java.lang.Long _itemCount, java.lang.Boolean _active, byte[] _data)
public ExperimenterGroup getGroup()
public void setGroup(ExperimenterGroup group)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public java.lang.Long getItemCount()
public void setItemCount(java.lang.Long itemCount)
public java.lang.Boolean getActive()
public void setActive(java.lang.Boolean active)
public byte[] getData()
public void setData(byte[] data)
public boolean isValid()
IObject
Validation.isValid()
public Validation validate()
IObject
Validation
object.public Share newInstance()
newInstance
in class Session
public boolean acceptFilter(Filter __filter)
acceptFilter
in interface Filterable
acceptFilter
in class Session
public java.util.Set<java.lang.String> fields()
IObject
public java.lang.Object retrieve(java.lang.String field)
IObject
field
which match a field of this instance will be delegated to the accessors.
Otherwise, values will be retrieved from a lazy-loaded map filled by
calls to IObject.putAt(String, Object)
public void putAt(java.lang.String field, java.lang.Object value)
IObject
field
which
match a field of this instance will be delegated to the accessors.
Otherwise, values will be stored in a lazy-loaded map.public void unload()
IObject
protected void throwNullCollectionException(java.lang.String propertyName)
throwNullCollectionException
in class Session
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.