schemabean.java

来自「一个完整的XACML工程,学习XACML技术的好例子!」· Java 代码 · 共 115 行

JAVA
115
字号
/*
 * SchemaBean.java
 *
 * Created on 11 December 2002, 12:44
 */

package ke.defaultimpl.utils.xml.parsing;

/**
 *
 * @author  James Cunningham
 */
public class SchemaBean
{

    /** Creates a new instance of SchemaBean */
    public SchemaBean()
    {
    }

    /** Getter for property schemaName.
     * @return Value of property schemaName.
     */
    public String getSchemaName()
    {
        return this.schemaName;
    }

    /** Setter for property schemaName.
     * @param schemaName New value of property schemaName.
     */
    public void setSchemaName(String schemaName)
    {
        this.schemaName = schemaName;
    }

    /** Indexed getter for property attributeName.
     * @param index Index of the property.
     * @return Value of the property at <CODE>index</CODE>.
     */
    public String getAttributeName(int index)
    {
        return this.attributeName[index];
    }

    /** Getter for property attributeName.
     * @return Value of property attributeName.
     */
    public String[] getAttributeName()
    {
        return this.attributeName;
    }

    /** Indexed setter for property attributeName.
     * @param index Index of the property.
     * @param attributeName New value of the property at <CODE>index</CODE>.
     */
    public void setAttributeName(int index, String attributeName)
    {
        this.attributeName[index] = attributeName;
    }

    /** Setter for property attributeName.
     * @param attributeName New value of property attributeName.
     */
    public void setAttributeName(String[] attributeName)
    {
        this.attributeName = attributeName;
    }

    /** Indexed getter for property attributeType.
     * @param index Index of the property.
     * @return Value of the property at <CODE>index</CODE>.
     */
    public String getAttributeType(int index)
    {
        return this.attributeType[index];
    }

    /** Getter for property attributeType.
     * @return Value of property attributeType.
     */
    public String[] getAttributeType()
    {
        return this.attributeType;
    }

    /** Indexed setter for property attributeType.
     * @param index Index of the property.
     * @param attributeType New value of the property at <CODE>index</CODE>.
     */
    public void setAttributeType(int index, String attributeType)
    {
        this.attributeType[index] = attributeType;
    }

    /** Setter for property attributeType.
     * @param attributeType New value of property attributeType.
     */
    public void setAttributeType(String[] attributeType)
    {
        this.attributeType = attributeType;
    }

    /** Holds value of property schemaName. */
    private String schemaName;

    /** Holds value of property attributeName. */
    private String[] attributeName;

    /** Holds value of property attributeType. */
    private String[] attributeType;

}

⌨️ 快捷键说明

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