org.opencrx.kernel.account1.cci2.AccountMembership Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.account1.cci2;
/**
* Class {@code AccountMembership}
*
* isFrozenisFrozenisFrozenisFrozen
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:35.671986494Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface AccountMembership
extends org.opencrx.kernel.base.cci2.SecureObject,
org.opencrx.kernel.base.cci2.UserDefined,
org.openmdx.base.cci2.BasicObject{
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code accountFrom}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.account1.cci2.Account getAccountFrom(
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code accountFromId}.
* @return The possibly null value for attribute {@code accountFromId}.
*/
public java.lang.String getAccountFromId(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code accountFromId}.
* @param accountFromId The possibly null new value for attribute {@code accountFromId}.
*/
public void setAccountFromId(
java.lang.String accountFromId
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code accountTo}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.account1.cci2.Account getAccountTo(
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code accountToId}.
* @return The possibly null value for attribute {@code accountToId}.
*/
public java.lang.String getAccountToId(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code accountToId}.
* @param accountToId The possibly null new value for attribute {@code accountToId}.
*/
public void setAccountToId(
java.lang.String accountToId
);
// ----------------------------------------------------------------------------
// 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 disabled}.
* @return The possibly null value for attribute {@code disabled}.
*/
public java.lang.Boolean isDisabled(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code disabled}.
* @param disabled The possibly null new value for attribute {@code disabled}.
*/
public void setDisabled(
java.lang.Boolean disabled
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute {@code distance}.
* @return The non-null value for attribute {@code distance}.
*/
public int getDistance(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code distance}.
*
* This attribute is not changeable, i.e. its value can be set as long as the object is TRANSIENT or NEW
* @param distance The non-{@code null} new value for attribute {@code distance}.
*/
public void setDistance(
int distance
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nNoQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the {@code Collection} of objects referenced by {@code forUseBy}.
* @return The {@code Collection} of referenced objects.
*/
public java.util.List getForUseBy(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code member}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.account1.cci2.Member getMember(
);
// ----------------------------------------------------------------------------
// Instance/AttributeGetList
// ----------------------------------------------------------------------------
/**
* Retrieves a list containing all the elements for the attribute {@code memberRole}.
* @return A list containing all elements for this attribute.
*/
public java.util.List getMemberRole(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSetList
// ----------------------------------------------------------------------------
/**
* Clears {@code memberRole} and adds the given value(s).
*
* This method is equivalent to
* list.clear();
* for(short e : memberRole){
* list.add(e);
* }
*
* @param memberRole value(s) to be added to {@code memberRole}
*/
public void setMemberRole(
short... memberRole
);
// ----------------------------------------------------------------------------
// 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}.
*
* This attribute is not changeable, i.e. its value can be set as long as the object is TRANSIENT or NEW
* @param name The non-{@code null} new value for attribute {@code name}.
*/
public void setName(
java.lang.String name
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute {@code quality}.
* @return The non-null value for attribute {@code quality}.
*/
public short getQuality(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code quality}.
*
* This attribute is not changeable, i.e. its value can be set as long as the object is TRANSIENT or NEW
* @param quality The non-{@code null} new value for attribute {@code quality}.
*/
public void setQuality(
short quality
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code validFrom}.
* @return The possibly null value for attribute {@code validFrom}.
*/
public java.util.Date getValidFrom(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code validFrom}.
* @param validFrom The possibly null new value for attribute {@code validFrom}.
*/
public void setValidFrom(
java.util.Date validFrom
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code validTo}.
* @return The possibly null value for attribute {@code validTo}.
*/
public java.util.Date getValidTo(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code validTo}.
* @param validTo The possibly null new value for attribute {@code validTo}.
*/
public void setValidTo(
java.util.Date validTo
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/Containment
// ----------------------------------------------------------------------------
/**
* Object Identity
*/
public interface Identity extends org.oasisopen.cci2.Identity {
/**
* Retrieve the {@code Account}'s identity
* @return the parent object's identity
*/
public org.opencrx.kernel.account1.cci2.Account.Identity getAccount();
/**
* 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();
}
}