All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.viaoa.annotation.OACalculatedProperty Maven / Gradle / Ivy

The newest version!
/*  Copyright 1999 Vince Via [email protected]
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/
package com.viaoa.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Used to describe OAObject calculated properties, and dependent information.
 * 
 * @author vvia
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface OACalculatedProperty {
    String lowerName() default "";

    String displayName() default "";

	String description() default "";

	String outputFormat() default "";

	// dependent property path(s)
	String[] properties() default {};

	int displayLength() default 0;

	int columnLength() default 0;

	int decimalPlaces() default 0;

	boolean isEmail() default false;

	boolean isUrl() default false;

	boolean isImageName() default false;

	boolean isIconName() default false;

	boolean isXml() default false;

	boolean isFileName() default false;

	boolean isAutoSeq() default false;

	boolean isTimestamp() default false;

	boolean isCaseSensitive() default false;

	boolean isPhone() default false;

	boolean isZipCode() default false;

	boolean isCurrency() default false;

	boolean isHtml() default false;

	String columnName() default "";

	String toolTip() default "";

	String help() default "";

	String enumPropertyName() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy