org.opencrx.kernel.document1.cci2.DocumentLock Maven / Gradle / Ivy
The newest version!
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.document1.cci2;
/**
* Class {@code DocumentLock}
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:35.344841198Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface DocumentLock
extends org.opencrx.kernel.base.cci2.SecureObject,
org.openmdx.base.cci2.BasicObject{
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code description}.
* @return The possibly null value for attribute {@code description}.
*/
public java.lang.String getDescription(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code description}.
* @param description The possibly null new value for attribute {@code description}.
*/
public void setDescription(
java.lang.String description
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code lockedAt}.
* @return The possibly null value for attribute {@code lockedAt}.
*/
public java.util.Date getLockedAt(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code lockedAt}.
* @param lockedAt The possibly null new value for attribute {@code lockedAt}.
*/
public void setLockedAt(
java.util.Date lockedAt
);
// ----------------------------------------------------------------------------
// Instance/AttributeGetList
// ----------------------------------------------------------------------------
/**
* Retrieves a list containing all the elements for the attribute {@code lockedBy}.
* @return A list containing all elements for this attribute.
*/
public java.util.List getLockedBy(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSetList
// ----------------------------------------------------------------------------
/**
* Clears {@code lockedBy} and adds the given value(s).
*
* This method is equivalent to
* list.clear();
* for(java.lang.String e : lockedBy){
* list.add(e);
* }
*
* @param lockedBy value(s) to be added to {@code lockedBy}
*/
public void setLockedBy(
java.lang.String... lockedBy
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute {@code name}.
* @return The non-null value for attribute {@code name}.
*/
public java.lang.String getName(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code name}.
* @param name The non-{@code null} new value for attribute {@code name}.
*/
public void setName(
java.lang.String name
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/Containment
// ----------------------------------------------------------------------------
/**
* Object Identity
*/
public interface Identity extends org.oasisopen.cci2.Identity {
/**
* Retrieve the {@code Document}'s identity
* @return the parent object's identity
*/
public org.opencrx.kernel.document1.cci2.Document.Identity getDocument();
/**
* Tells whether the {@code id} value is persistent or reassignable.
* @return {@code PERSISTENT} or {@code REASSIGNABLE}
*/
public org.oasisopen.cci2.QualifierType getIdType();
/**
* The {@code id} value
* @return the {@code id} value
*/
public java.lang.String getId();
}
}