⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testobject.java

📁 一个javabean的转换与copy非常的好用希望大家好好研究一下
💻 JAVA
字号:
/*
 * Copyright 2005-2007 the original author or authors.
 *
 * 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 net.sf.dozer.util.mapping.vo;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.Set;


/**
 * @author garsombke.franz
 * @author sullins.ben
 * @author tierney.matt
 *
 */
public class TestObject extends BaseTestObject {
    private String one;
    private Integer two;
    private InsideTestObject three;
    private InsideTestObject insideTestObject;
    private java.util.List equalNamedList;
    private java.util.List unequalNamedList;
    private int thePrimitive;
    private int theMappedPrimitive;
    private int[] anArray;
    private Integer[] arrayForLists;
    private BigDecimal bigDecimalToInt;
    private int intToBigDecimal;
    private Date date;
    private GregorianCalendar calendar;
    private NoCustomMappingsObject noMappingsObj;
    private List hintList;
    private Timestamp timeStamp;
    private String dateStr;
    private DoubleObject doubleObject;
    private long anotherLongValue;
    private int[] primArray;
    private Van van;
    private String excludeMe;
    private MetalThingyIF carMetalThingy;
    private String blankDate;
    private String blankStringToLong;
    private String createdByFactoryName;
    private NoExtendBaseObject copyByReference;
    private NoExtendBaseObject copyByReferenceDeep;
    private NoExtendBaseObjectGlobalCopyByReference globalCopyByReference;
    private Set setToArray;
    private Set setToObjectArray;
    private Set setToArrayWithValues;
    private Set setToList;
    private Set setToListWithValues;
    private String fieldAccessible;
    private int fieldAccessiblePrimInt;
    private InsideTestObject fieldAccessibleComplexType;
    private String[] stringArrayWithNullValue;
    private String[] fieldAccessibleArrayToList;
    private Date overloadGetField;
    private InsideTestObject createMethodType;
    private String excludeMeOneWay;
    public int[] getPrimArray() {
        return primArray;
    }

    public void setPrimArray(int[] primArray) {
        this.primArray = primArray;
    }

    public long getAnotherLongValue() {
        return anotherLongValue;
    }

    public void setAnotherLongValue(long longValue) {
        anotherLongValue = longValue;
    }

    /**
     * @return Returns the date.
     */
    public Date getDate() {
        return date;
    }

    /**
     * @param date
     *            The date to set.
     */
    public void setDate(Date date) {
        this.date = date;
    }

    /**
     * @return Returns the insideTestObject.
     */
    public InsideTestObject getInsideTestObject() {
        return insideTestObject;
    }

    /**
     * @param insideTestObject
     *            The insideTestObject to set.
     */
    public void setInsideTestObject(InsideTestObject insideTestObject) {
        this.insideTestObject = insideTestObject;
    }

    /**
     * @return Returns the aPrimitive.
     */
    public int getThePrimitive() {
        return thePrimitive;
    }

    /**
     * @param primitive
     *            The aPrimitive to set.
     */
    public void setThePrimitive(int primitive) {
        thePrimitive = primitive;
    }

    /**
     * @return Returns the equalNamedList.
     */
    public java.util.List getEqualNamedList() {
        return equalNamedList;
    }

    /**
     * @param equalNamedList
     *            The equalNamedList to set.
     */
    public void setEqualNamedList(java.util.List equalNamedList) {
        this.equalNamedList = equalNamedList;
    }

    /**
     * @return Returns the one.
     */
    public String getOne() {
        return one;
    }

    /**
     * @param one
     *            The one to set.
     */
    public void setOne(String one) {
        this.one = one;
    }

    /**
     * @return Returns the three.
     */
    public InsideTestObject getThree() {
        return three;
    }

    /**
     * @param three
     *            The three to set.
     */
    public void setThree(InsideTestObject three) {
        this.three = three;
    }

    /**
     * @return Returns the two.
     */
    public Integer getTwo() {
        return two;
    }

    /**
     * @param two
     *            The two to set.
     */
    public void setTwo(Integer two) {
        this.two = two;
    }

    /**
     * @return Returns the unequalNamedList.
     */
    public java.util.List getUnequalNamedList() {
        return unequalNamedList;
    }

    /**
     * @param unequalNamedList
     *            The unequalNamedList to set.
     */
    public void setUnequalNamedList(java.util.List unequalNamedList) {
        this.unequalNamedList = unequalNamedList;
    }

    /**
     * @return Returns the theMappedPrimitive.
     */
    public int getTheMappedPrimitive() {
        return theMappedPrimitive;
    }

    /**
     * @param mappedPrimitive
     *            The theMappedPrimitive to set.
     */
    public void setTheMappedPrimitive(int mappedPrimitive) {
        theMappedPrimitive = mappedPrimitive;
    }

    /**
     * @return Returns the anArray.
     */
    public int[] getAnArray() {
        return anArray;
    }

    /**
     * @param anArray
     *            The anArray to set.
     */
    public void setAnArray(int[] anArray) {
        this.anArray = anArray;
    }

    /**
     * @return Returns the arrayForLists.
     */
    public Integer[] getArrayForLists() {
        return arrayForLists;
    }

    /**
     * @param arrayForLists
     *            The arrayForLists to set.
     */
    public void setArrayForLists(Integer[] arrayForLists) {
        this.arrayForLists = arrayForLists;
    }

    /**
     * @return Returns the bigDecimalToInt.
     */
    public BigDecimal getBigDecimalToInt() {
        return bigDecimalToInt;
    }

    /**
     * @param bigDecimalToInt
     *            The bigDecimalToInt to set.
     */
    public void setBigDecimalToInt(BigDecimal bigDecimalToInt) {
        this.bigDecimalToInt = bigDecimalToInt;
    }

    /**
     * @return Returns the intToBigDecimal.
     */
    public int getIntToBigDecimal() {
        return intToBigDecimal;
    }

    /**
     * @param intToBigDecimal
     *            The intToBigDecimal to set.
     */
    public void setIntToBigDecimal(int intToBigDecimal) {
        this.intToBigDecimal = intToBigDecimal;
    }

    /**
     * @return Returns the calendar.
     */
    public GregorianCalendar getCalendar() {
        return calendar;
    }

    /**
     * @param calendar
     *            The calendar to set.
     */
    public void setCalendar(GregorianCalendar calendar) {
        this.calendar = calendar;
    }

    public NoCustomMappingsObject getNoMappingsObj() {
        return noMappingsObj;
    }

    public void setNoMappingsObj(NoCustomMappingsObject noMappingsObj) {
        this.noMappingsObj = noMappingsObj;
    }

    public List getHintList() {
        return hintList;
    }

    public void setHintList(List hintList) {
        this.hintList = hintList;
    }

    /**
     * @return Returns the timeStamp.
     */
    public Timestamp getTimeStamp() {
        return timeStamp;
    }

    /**
     * @param timeStamp
     *            The timeStamp to set.
     */
    public void setTimeStamp(Timestamp timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    /**
     * @return Returns the doubleObject.
     */
    public DoubleObject getDoubleObject() {
        return doubleObject;
    }

    /**
     * @param doubleObject
     *            The doubleObject to set.
     */
    public void setDoubleObject(DoubleObject doubleObject) {
        this.doubleObject = doubleObject;
    }

    public Van getVan() {
      return van;
    }

    public void setVan(Van van) {
      this.van = van;
    }

    public String getExcludeMe() {
      return excludeMe;
    }

    public void setExcludeMe(String excludeMe) {
      this.excludeMe = excludeMe;
    }

    public MetalThingyIF getCarMetalThingy() {
      return carMetalThingy;
    }

    public void setCarMetalThingy(MetalThingyIF car) {
      this.carMetalThingy = car;
    }

    public String getBlankDate() {
      return blankDate;
    }

    public void setBlankDate(String blankDate) {
      this.blankDate = blankDate;
    }

    public String getBlankStringToLong() {
      return blankStringToLong;
    }

    public void setBlankStringToLong(String blankStringToLong) {
      this.blankStringToLong = blankStringToLong;
    }

    public String getCreatedByFactoryName() {
      return createdByFactoryName;
    }

    public void setCreatedByFactoryName(String createdByFactoryName) {
      this.createdByFactoryName = createdByFactoryName;
    }

    public NoExtendBaseObject getCopyByReference() {
      return copyByReference;
    }

    public void setCopyByReference(NoExtendBaseObject copyByReference) {
      this.copyByReference = copyByReference;
    }

    public NoExtendBaseObject getCopyByReferenceDeep() {
      return copyByReferenceDeep;
    }

    public void setCopyByReferenceDeep(NoExtendBaseObject copyByReferenceDeep) {
      this.copyByReferenceDeep = copyByReferenceDeep;
    }

    public NoExtendBaseObjectGlobalCopyByReference getGlobalCopyByReference() {
      return globalCopyByReference;
    }

    public void setGlobalCopyByReference(NoExtendBaseObjectGlobalCopyByReference globalCopyByReference) {
      this.globalCopyByReference = globalCopyByReference;
    }

    public Set getSetToArray() {
      return setToArray;
    }

    public void setSetToArray(Set setToArray) {
      this.setToArray = setToArray;
    }

    public Set getSetToObjectArray() {
      return setToObjectArray;
    }

    public void setSetToObjectArray(Set setToObjectArray) {
      this.setToObjectArray = setToObjectArray;
    }

    public Set getSetToArrayWithValues() {
      return setToArrayWithValues;
    }

    public void setSetToArrayWithValues(Set setToArrayWithValues) {
      this.setToArrayWithValues = setToArrayWithValues;
    }

    public Set getSetToList() {
      return setToList;
    }

    public void setSetToList(Set setToList) {
      this.setToList = setToList;
    }

    public Set getSetToListWithValues() {
      return setToListWithValues;
    }

    public void setSetToListWithValues(Set setToListWithValues) {
      this.setToListWithValues = setToListWithValues;
    }

    public String getFieldAccessible() {
      return fieldAccessible;
    }

    public void setFieldAccessible(String fieldAccessible) {
      this.fieldAccessible = fieldAccessible;
    }

    public int getFieldAccessiblePrimInt() {
      return fieldAccessiblePrimInt;
    }

    public void setFieldAccessiblePrimInt(int fieldAccessiblePrimInt) {
      this.fieldAccessiblePrimInt = fieldAccessiblePrimInt;
    }

    public InsideTestObject getFieldAccessibleComplexType() {
      return fieldAccessibleComplexType;
    }

    public void setFieldAccessibleComplexType(InsideTestObject fieldAccessibleComplexType) {
      this.fieldAccessibleComplexType = fieldAccessibleComplexType;
    }

    public String[] getStringArrayWithNullValue() {
      return stringArrayWithNullValue;
    }

    public void setStringArrayWithNullValue(String[] stringArrayWithNullValue) {
      this.stringArrayWithNullValue = stringArrayWithNullValue;
    }

    public String[] getFieldAccessibleArrayToList() {
      return fieldAccessibleArrayToList;
    }

    public void setFieldAccessibleArrayToList(String[] fieldAccessibleArrayToList) {
      this.fieldAccessibleArrayToList = fieldAccessibleArrayToList;
    }

    public Date getOverloadGetField() {
      return overloadGetField;
    }

    public void setOverloadGetField(Date overloadGetField) {
      this.overloadGetField = overloadGetField;
    }

    public InsideTestObject getCreateMethodType() {
      return createMethodType;
    }

    public void setCreateMethodType(InsideTestObject createMethodType) {
      this.createMethodType = createMethodType;
    }

    public String getExcludeMeOneWay() {
      return excludeMeOneWay;
    }

    public void setExcludeMeOneWay(String excludeMeOneWay) {
      this.excludeMeOneWay = excludeMeOneWay;
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -