jbsrcattrdesc.java

来自「OPIAM stands for Open Identity and Acces」· Java 代码 · 共 83 行

JAVA
83
字号
/*
 * OPIAM Suite
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package opiam.admin.faare.config.javabeans;

import java.io.Serializable;

/**
 * This class corresponds to  the "ldap" element of the faare_mapping.xml file.
 * This is the LDAP attribute name corresponding to a business object attribute.
 */
public class JBSrcAttrDesc implements Serializable
{
    /** LDAP attribute name. */
    private String name;

    /** Not used. */
    private String type;

    /**
     * Returns the attribute name.
     * @return name
     */
    public String getName()
    {
        return name;
    }

    /**
     * Not used.
     * @return not used
     */
    public String getType()
    {
        return type;
    }

    /**
     * Sets the attribute name.
     * @param aname The name to set
     */
    public void setName(String aname)
    {
        this.name = aname;
    }

    /**
     * Not used.
     * @param atype Not used.
     */
    public void setType(String atype)
    {
        this.type = atype;
    }

    /**
     * Displays the attribute descriptor.
     *
     * @return String formatted representation of the attribute descriptor.
     */
    public String toString()
    {
        StringBuffer buf = new StringBuffer();
        java.util.Iterator it = null;

        buf.append(System.getProperty("line.separator"));
        buf.append(".........name = ");
        buf.append(name);
        buf.append(System.getProperty("line.separator"));
        buf.append(".........type = ");
        buf.append(type);
        buf.append(System.getProperty("line.separator"));

        return buf.toString();
    }

    // end of toString method
}

⌨️ 快捷键说明

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