112 lines
4.8 KiB
Java
112 lines
4.8 KiB
Java
/*
|
|
* Copyright (c) 2007,2009 Declarative Engineering LLC.
|
|
* All rights reserved. This program and the accompanying materials
|
|
* are made available under the terms of the Declarative Engineering LLC
|
|
* verson 1 which accompanies this distribution, and is available at
|
|
* http://declarativeengineering.com/legal/DE_Developer_License_v1.txt
|
|
*/
|
|
package com.foundation.view.definition;
|
|
|
|
import com.foundation.view.builder.IClassMetadataLoader;
|
|
|
|
public interface IAssociationAbstractTargetPart extends IAssociationAbstractPart {
|
|
/**
|
|
* Gets the name of the value holder associated with the part.
|
|
* @return The the name of the value holder that defines the getter/setter methods.
|
|
*/
|
|
public String getValueHolderName();
|
|
/**
|
|
* Sets the name of the value holder associated with the part.
|
|
* <p><b>Warning: This method will clear the getter/setter data.</b></p>
|
|
* @param valueHolderName The the name of the value holder that defines the getter/setter methods.
|
|
*/
|
|
public void setValueHolderName(String valueHolderName);
|
|
/**
|
|
* Gets the qualified class name for the row class.
|
|
* @return The qualified class name of the row type supported by this association which may be null in certain cases.
|
|
*/
|
|
public String getRowTypeName();
|
|
/**
|
|
* Sets the qualified class name for the row class.
|
|
* @param rowTypeName The qualified class name of the row type supported by this association which may be null in certain cases.
|
|
*/
|
|
public void setRowTypeName(String rowTypeName);
|
|
/**
|
|
* Gets whether the association should invert the boolean result.
|
|
* <p>This is only allowed (it is optional) for associations which have a type of java.lang.Boolean.</p>
|
|
* @return Whether the boolean result should be inverted.
|
|
*/
|
|
public Boolean getInvertLogic();
|
|
/**
|
|
* Sets whether the association should invert the boolean result.
|
|
* <p>This is only allowed (it is optional) for associations which have a type of java.lang.Boolean.</p>
|
|
* @param invertLogic Whether the boolean result should be inverted.
|
|
*/
|
|
public void setInvertLogic(Boolean invertLogic);
|
|
/**
|
|
* Gets the getter method name for the attribute.
|
|
* @return The name of the getter method used to access the value.
|
|
*/
|
|
public String getGetterName();
|
|
/**
|
|
* Gets the setter method name for the attribute.
|
|
* @return The name of the setter method used to set the value.
|
|
*/
|
|
public String getSetterName();
|
|
/**
|
|
* Gets the getter method's signature in class file format.
|
|
* @return The signature that unqiuely identifies the getter method.
|
|
*/
|
|
public String getGetterSignature();
|
|
/**
|
|
* Gets the setter method's signature in class file format.
|
|
* @return The signature that unqiuely identifies the setter method.
|
|
*/
|
|
public String getSetterSignature();
|
|
/**
|
|
* Gets the default row-type name for the target part.
|
|
* @return The row-type name defined by the related value-holder. The value-holder may be specified by the group part if this is an immediate child of the group part.
|
|
*/
|
|
public String getDefaultRowTypeName();
|
|
/**
|
|
* Gets whether the association is capable of being linked to decorations.
|
|
* @return Whether the association should access decorations.
|
|
*/
|
|
public Boolean getDecorationCapable();
|
|
/**
|
|
* Gets the decoration attribute name. This may be null if the decorations are attached to the association's input object directly.
|
|
* @return The attribute name or null.
|
|
*/
|
|
public String getDecorationAttribute();
|
|
/**
|
|
* Gets the getter method name used to access the original value for the association.
|
|
* @return The method called when the association needs the original value (the value the new value is over writing).
|
|
*/
|
|
public String getOriginalValueGetterName();
|
|
/**
|
|
* Gets the getter method signature used to access the original value for the association.
|
|
* @return The signature for the method called when the association needs the original value (the value the new value is over writing).
|
|
*/
|
|
public String getOriginalValueGetterSignature();
|
|
/**
|
|
* Gets the getter method's signature class names in java source format.
|
|
* @return The collection of signature parameter qualified class names in java source format.
|
|
*/
|
|
public String[] getGetterSignatureTypeNames();
|
|
/**
|
|
* Gets the original value getter method's signature class names in java source format.
|
|
* @return The collection of signature parameter qualified class names in java source format.
|
|
*/
|
|
public String[] getOriginalValueGetterSignatureTypeNames();
|
|
/**
|
|
* Gets the setter method's signature class names in java source format.
|
|
* @return The collection of signature parameter qualified class names in java source format.
|
|
*/
|
|
public String[] getSetterSignatureTypeNames();
|
|
/**
|
|
* Gets the method's return type's qualified name.
|
|
* @param applicationClassMetadataLoader The class metadata loader to use when loading application class metadata.
|
|
* @return The getter method's return type which will always be non-null.
|
|
*/
|
|
public String getGetterResultType(IClassMetadataLoader applicationClassMetadataLoader);
|
|
}//IAssociationAbstractTargetPart// |