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

org.jrimum.texgit.MetaField Maven / Gradle / Ivy

Go to download

This is a fork and merge from JRimum ( http://www.jrimum.org ), - Bopepo: https://github.com/jrimum/bopepo - Texgit: https://github.com/jrimum/texgit - Valia: https://github.com/jrimum/vallia - Utilix: https://github.com/jrimum/utilix - Domkee: https://github.com/jrimum/domkee For Brazillian Boleto Payment Method. So much thanks for original authors: Gilmar P. S. L, Misael Barreto and Rômulo Augusto.

The newest version!
/*
 * Copyright 2008 JRimum Project
 * 
 * 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.
 * 
 * Created at: 03/08/2008 - 12:27:56
 * 
 * ================================================================================
 * 
 * Direitos autorais 2008 JRimum Project
 * 
 * Licenciado sob a Licença Apache, Versão 2.0 ("LICENÇA"); você não pode usar
 * esse arquivo exceto em conformidade com a esta LICENÇA. Você pode obter uma
 * cópia desta LICENÇA em http://www.apache.org/licenses/LICENSE-2.0 A menos que
 * haja exigência legal ou acordo por escrito, a distribuição de software sob
 * esta LICENÇA se dará “COMO ESTÁ”, SEM GARANTIAS OU CONDIÇÕES DE QUALQUER
 * TIPO, sejam expressas ou tácitas. Veja a LICENÇA para a redação específica a
 * reger permissões e limitações sob esta LICENÇA.
 * 
 * Criado em: 03/08/2008 - 12:27:56
 * 
 */
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2008.08.03 at 12:27:56 AM GMT-03:00 
//

package org.jrimum.texgit;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * 
 * 
 * 

* Field � a unidade b�sica de informa��o de um registro, um field est� para um * registro assim como uma coluna de banco de dados est� para uma tabela. *

* * * * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "MetaField", propOrder = { }) public class MetaField { @XmlElement(name = "Filler") protected MetaFiller filler; @XmlElement(name = "Formatter") protected MetaFormatter formatter; @XmlAttribute protected Boolean blankAccepted; @XmlAttribute protected Boolean truncate; @XmlAttribute protected EnumFormats format; @XmlAttribute(required = true) protected int length; @XmlAttribute(required = true) protected String name; @XmlAttribute protected EnumPaddings padding; @XmlAttribute protected EnumTypes type; @XmlAttribute protected String value; /** * Gets the value of the filler property. * * @return possible object is {@link MetaFiller } * */ public MetaFiller getFiller() { return filler; } /** * Sets the value of the filler property. * * @param value * allowed object is {@link MetaFiller } * */ public void setFiller(MetaFiller value) { this.filler = value; } /** * Gets the value of the formatter property. * * @return possible object is {@link MetaFormatter } * */ public MetaFormatter getFormatter() { return formatter; } /** * Sets the value of the formatter property. * * @param value * allowed object is {@link MetaFormatter } * */ public void setFormatter(MetaFormatter value) { this.formatter = value; } /** * Gets the value of the blankAccepted property. * * @return possible object is {@link Boolean } * */ public boolean isBlankAccepted() { if (blankAccepted == null) { return false; } else { return blankAccepted; } } /** * Sets the value of the blankAccepted property. * * @param value * allowed object is {@link Boolean } * */ public void setBlankAccepted(Boolean value) { this.blankAccepted = value; } /** * Gets the value of the truncate property. * * @return possible object is {@link Boolean } * */ public boolean isTruncate() { if (truncate == null) { return false; } else { return truncate; } } /** * Sets the value of the blankAccepted property. * * @param value * allowed object is {@link Boolean } * */ public void setTruncate(Boolean value) { this.truncate = value; } /** * Gets the value of the format property. * * @return possible object is {@link EnumFormats } * */ public EnumFormats getFormat() { return format; } /** * Sets the value of the format property. * * @param value * allowed object is {@link EnumFormats } * */ public void setFormat(EnumFormats value) { this.format = value; } /** * Gets the value of the length property. * */ public int getLength() { return length; } /** * Sets the value of the length property. * */ public void setLength(int value) { this.length = value; } /** * Gets the value of the name property. * * @return possible object is {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the padding property. * * @return possible object is {@link EnumPaddings } * */ public EnumPaddings getPadding() { if (padding == null) { return EnumPaddings.WHITE_SPACE_RIGHT; } else { return padding; } } /** * Sets the value of the padding property. * * @param value * allowed object is {@link EnumPaddings } * */ public void setPadding(EnumPaddings value) { this.padding = value; } /** * Gets the value of the type property. * * @return possible object is {@link EnumTypes } * */ public EnumTypes getType() { if (type == null) { return EnumTypes.STRING; } else { return type; } } /** * Sets the value of the type property. * * @param value * allowed object is {@link EnumTypes } * */ public void setType(EnumTypes value) { this.type = value; } /** * Gets the value of the value property. * * @return possible object is {@link String } * */ public String getValue() { if (value == null) { return " "; } else { return value; } } /** * Sets the value of the value property. * * @param value * allowed object is {@link String } * */ public void setValue(String value) { this.value = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy