@Property( domainEvent = ElementObjectTypeDomainEvent.class, editing = Editing.DISABLED ) public String getElementObjectType() { return elementObjectType; } //endregion
@Property( domainEvent = ActionOwningTypeDomainEvent.class, optionality = Optionality.OPTIONAL, editing = Editing.DISABLED ) public String getActionOwningType() { return actionOwningType; } //endregion
@Property( domainEvent = ActionArgumentsDomainEvent.class, optionality = Optionality.OPTIONAL, editing = Editing.DISABLED ) public String getActionArguments() { return actionArguments; } //endregion
/** * Number to complete; optional, defaults to 2. */ @Property(optionality = Optionality.OPTIONAL) public Integer getNumberToComplete() { return numberToComplete; }
@Property( domainEvent = ActionIdDomainEvent.class, optionality = Optionality.OPTIONAL, editing = Editing.DISABLED ) public String getActionId() { return actionId; } //endregion
/** * The user that caused the change. * * <p> * This dummy implementation is a trick so that Isis will render the property in a standalone table. Each of the * subclasses override with the "real" implementation. */ @Property @MemberOrder(name="Identifiers", sequence = "10") public String getUser() { return null; }
/** * The unique identifier (a GUID) of the transaction in which this change occurred. * * <p> * This dummy implementation is a trick so that Isis will render the property in a standalone table. Each of the * subclasses override with the "real" implementation. */ @Property @MemberOrder(name="Identifiers",sequence = "50") public UUID getTransactionId() { return null; }
@javax.jdo.annotations.Column(allowsNull = "false", length = 40) @Title(sequence = "1") @Property(editing = Editing.DISABLED) public String getName() { return name; }
@Property(hidden = Where.ALL_TABLES) public Long getValueAsLong() { return hideValueAsLong() ? null : parseValueAsLong(); } public boolean hideValueAsLong() {
@Property(hidden = Where.ALL_TABLES) public String getValueAsString() { return hideValueAsString() ? null : getValueRaw(); } public boolean hideValueAsString() {
@Property(hidden = Where.ALL_TABLES) public LocalDate getValueAsLocalDate() { return hideValueAsLocalDate() ? null : parseValueAsLocalDate(); } public boolean hideValueAsLocalDate() {
@Property(hidden = Where.ALL_TABLES) public Integer getValueAsInt() { return hideValueAsInt() ? null : parseValueAsInt(); } public boolean hideValueAsInt() {
@PropertyLayout(named="Fixture script") @Property(optionality = Optionality.OPTIONAL) @MemberOrder(sequence="1") public String getFixtureScriptClassName() { return fixtureScriptClassName; } public void setFixtureScriptClassName(String fixtureScriptClassName) {
@javax.jdo.annotations.Column(length=JdoColumnLength.DESCRIPTION) @javax.jdo.annotations.Persistent @Property( domainEvent = DescriptionDomainEvent.class ) @Override public String getDescription() { return super.getDescription(); } @Override
@javax.jdo.annotations.Column(allowsNull="false", length=JdoColumnLength.SettingAbstract.VALUE_RAW) @javax.jdo.annotations.Persistent @Property( domainEvent = ValueRawDomainEvent.class ) @Override public String getValueRaw() { return super.getValueRaw(); } @Override
@NotPersistent @Property( domainEvent = DocumentStateDomainEvent.class, editing = Editing.DISABLED ) public DocumentState getDocumentState() { final DocumentAbstract documentAbstract = getDocument(); if(documentAbstract instanceof Document) { final Document document = (Document) documentAbstract; return document.getState(); } return null; }
@javax.jdo.annotations.Column(length=128) @javax.jdo.annotations.PrimaryKey @Property( domainEvent = KeyDomainEvent.class ) @Title(sequence="10") @Override public String getKey() { return super.getKey(); } @Override
@javax.jdo.annotations.NotPersistent @Property( notPersisted = true, // exclude from auditing domainEvent = ClobDomainEvent.class, editing = Editing.DISABLED ) public Clob getClob() { return new Clob(getName(), getMimeType(), getClobChars()); } @Programmatic
@javax.jdo.annotations.NotPersistent @Property( notPersisted = true, domainEvent = BlobDomainEvent.class, editing = Editing.DISABLED ) public Blob getBlob() { return new Blob(getName(), getMimeType(), getBlobBytes()); } @Programmatic
@javax.jdo.annotations.NotPersistent @Property( notPersisted = true, // exclude from auditing domainEvent = ClobDomainEvent.class, editing = Editing.DISABLED ) public Clob getClob() { return new Clob(getName(), getMimeType(), getClobChars()); } @Programmatic