org.opencrx.kernel.account1.jmi1.Contact Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.account1.jmi1;
/**
* Class {@code Contact}
*
* isFrozen
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:38.092100545Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface Contact
extends org.opencrx.kernel.account1.cci2.Contact,
org.opencrx.kernel.account1.jmi1.Account{
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code assistant}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.account1.jmi1.Account getAssistant(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code assistant}.
* @param assistant The new—possibly {@code null}—value for this reference.
*/
public void setAssistant(
org.opencrx.kernel.account1.cci2.Account assistant
);
// ----------------------------------------------------------------------------
// Instance/AttributeGetList
// ----------------------------------------------------------------------------
/**
* Retrieves a list containing all the elements for the attribute {@code childrenNames}.
* @return A list containing all elements for this attribute.
*/
public java.util.List getChildrenNames(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSetList
// ----------------------------------------------------------------------------
/**
* Clears {@code childrenNames} and adds the members of the given List.
*
* This method is equivalent to
* list.clear();
* list.addAll(childrenNames);
*
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.
* @param childrenNames collection to be copied.
*/
public void setChildrenNames(
java.util.List childrenNames
);
// ----------------------------------------------------------------------------
// Instance/AttributeGetList
// ----------------------------------------------------------------------------
/**
* Retrieves a list containing all the elements for the attribute {@code citizenship}.
* @return A list containing all elements for this attribute.
*/
public java.util.List getCitizenship(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSetList
// ----------------------------------------------------------------------------
/**
* Clears {@code citizenship} and adds the members of the given List.
*
* This method is equivalent to
* list.clear();
* list.addAll(citizenship);
*
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.
* @param citizenship collection to be copied.
*/
public void setCitizenship(
java.util.List citizenship
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contactRelationship} for the specified query.
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with {@code javax.jdo.Query}
* @param query predicate which is applied to the set of referenced objects.
* @return The objects for which the predicate evaluates to {@code true}.
*/
public java.util.List getContactRelationship(
org.opencrx.kernel.account1.cci2.ContactRelationshipQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contactRelationship} for the specified qualifier attribute value.
*
* @param idIsPersistent Defines whether value for the qualifier is persistent or not
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.account1.jmi1.ContactRelationship getContactRelationship(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code contactRelationship} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getContactRelationship(false,id)}.
*
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.account1.jmi1.ContactRelationship getContactRelationship(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code contactRelationship}.
*
* Note: This is an extension to the JMI 1 standard.
* @param idIsPersistent {@code true} if {@code id} is persistent
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param contactRelationship The element to be appended.
*/
public void addContactRelationship (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.account1.jmi1.ContactRelationship contactRelationship
);
/**
* Adds the specified element to the set of the values for the reference {@code contactRelationship} using a reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param contactRelationship The element to be appended.
*/
public void addContactRelationship (
java.lang.String id,
org.opencrx.kernel.account1.jmi1.ContactRelationship contactRelationship
);
/**
* Adds the specified element to the set of the values for the reference {@code contactRelationship} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param contactRelationship The element to be appended.
*/
public void addContactRelationship (
org.opencrx.kernel.account1.jmi1.ContactRelationship contactRelationship
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code deputy}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.account1.jmi1.Account getDeputy(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code deputy}.
* @param deputy The new—possibly {@code null}—value for this reference.
*/
public void setDeputy(
org.opencrx.kernel.account1.cci2.Account deputy
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code ouMembership} for the specified query.
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with {@code javax.jdo.Query}
* @param query predicate which is applied to the set of referenced objects.
* @return The objects for which the predicate evaluates to {@code true}.
*/
public java.util.List getOuMembership(
org.opencrx.kernel.account1.cci2.ContactMembershipQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code ouMembership} for the specified qualifier attribute value.
*
* @param idIsPersistent Defines whether value for the qualifier is persistent or not
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.account1.jmi1.ContactMembership getOuMembership(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code ouMembership} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getOuMembership(false,id)}.
*
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.account1.jmi1.ContactMembership getOuMembership(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code ouMembership}.
*
* Note: This is an extension to the JMI 1 standard.
* @param idIsPersistent {@code true} if {@code id} is persistent
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param ouMembership The element to be appended.
*/
public void addOuMembership (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.account1.jmi1.ContactMembership ouMembership
);
/**
* Adds the specified element to the set of the values for the reference {@code ouMembership} using a reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param ouMembership The element to be appended.
*/
public void addOuMembership (
java.lang.String id,
org.opencrx.kernel.account1.jmi1.ContactMembership ouMembership
);
/**
* Adds the specified element to the set of the values for the reference {@code ouMembership} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param ouMembership The element to be appended.
*/
public void addOuMembership (
org.opencrx.kernel.account1.jmi1.ContactMembership ouMembership
);
// ----------------------------------------------------------------------------
// Instance/AttributeGetList
// ----------------------------------------------------------------------------
/**
* Retrieves a list containing all the elements for the attribute {@code religion}.
* @return A list containing all elements for this attribute.
*/
public java.util.List getReligion(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSetList
// ----------------------------------------------------------------------------
/**
* Clears {@code religion} and adds the members of the given List.
*
* This method is equivalent to
* list.clear();
* list.addAll(religion);
*
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.
* @param religion collection to be copied.
*/
public void setReligion(
java.util.List religion
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code reportsTo}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.account1.jmi1.Contact getReportsTo(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code reportsTo}.
* @param reportsTo The new—possibly {@code null}—value for this reference.
*/
public void setReportsTo(
org.opencrx.kernel.account1.cci2.Contact reportsTo
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}