package com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel;
/**
* DataFieldMayCarryDataType association proxy interface.
*/
public interface DataFieldMayCarryDataType extends javax.jmi.reflect.RefAssociation {
/**
* Queries whether a link currently exists between a given pair of instance
* objects in the associations link set.
* @param dataFieldsOfType Value of the first association end.
* @param dataType Value of the second association end.
* @return Returns true if the queried link exists.
*/
public boolean exists(com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.AbstractDataField dataFieldsOfType, com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.DataType dataType);
/**
* Queries the instance objects that are related to a particular instance
* object by a link in the current associations link set.
* @param dataType Required value of the second association end.
* @return Collection of related objects.
*/
public java.util.Collection getDataFieldsOfType(com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.DataType dataType);
/**
* Queries the instance object that is related to a particular instance object
* by a link in the current associations link set.
* @param dataFieldsOfType Required value of the first association end.
* @return Related object or <code>null</code> if none exists.
*/
public com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.DataType getDataType(com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.AbstractDataField dataFieldsOfType);
/**
* Creates a link between the pair of instance objects in the associations
* link set.
* @param dataFieldsOfType Value of the first association end.
* @param dataType Value of the second association end.
*/
public boolean add(com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.AbstractDataField dataFieldsOfType, com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.DataType dataType);
/**
* Removes a link between a pair of instance objects in the current associations
* link set.
* @param dataFieldsOfType Value of the first association end.
* @param dataType Value of the second association end.
*/
public boolean remove(com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.AbstractDataField dataFieldsOfType, com.metaboss.sdlctools.models.metabossmodel.datadictionarymodel.DataType dataType);
}
|