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

📄 jco$field.java

📁 SAP这个系统的一个转换器
💻 JAVA
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   JCO.java

package com.sap.mw.jco;

import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;

// Referenced classes of package com.sap.mw.jco:
//            JCO, IExtendedFieldMetaData

public static final class JCO$Field
{

    public boolean isActive()
    {
        return (((ta) (record)).flags[index] & 0x10) == 0;
    }

    public boolean isInitialized()
    {
        return (((ta) (record)).flags[index] & 8) == 0;
    }

    public boolean isOptional()
    {
        return (((ta) (record)).flags[index] & 4) != 0;
    }

    public boolean isImport()
    {
        return (((ta) (record)).flags[index] & 1) != 0;
    }

    public boolean isExport()
    {
        return (((ta) (record)).flags[index] & 2) != 0;
    }

    public boolean isStructure()
    {
        return ((ta) (record)).type[index] == 17;
    }

    public boolean isTable()
    {
        return ((ta) (record)).type[index] == 99;
    }

    public String getName()
    {
        return record.getName(index);
    }

    public int getType()
    {
        return record.getType(index);
    }

    /**
     * @deprecated Method getOffset is deprecated
     */

    public int getOffset()
    {
        return record.getOffset(index);
    }

    public int getLength()
    {
        return record.getLength(index);
    }

    public int getDecimals()
    {
        return record.getDecimals(index);
    }

    public String getDefault()
    {
        return record.getDefault(index);
    }

    public String getDescription()
    {
        return record.getDescription(index);
    }

    public String getTypeAsString()
    {
        return JCO.getJCOTypeString(record.getType(index));
    }

    public IExtendedFieldMetaData getExtendedFieldMetaData()
    {
        return record.getExtendedFieldMetaData(index);
    }

    public final String getClassNameOfValue()
    {
        return record.getClassNameOfValue(index);
    }

    public Object getValue()
    {
        return record.getValue(index);
    }

    public String getString()
    {
        return record.getString(index);
    }

    public char getChar()
    {
        return record.getChar(index);
    }

    public short getShort()
    {
        return record.getShort(index);
    }

    public int getInt()
    {
        return record.getInt(index);
    }

    public long getLong()
    {
        return record.getLong(index);
    }

    public BigInteger getBigInteger()
    {
        return record.getBigInteger(index);
    }

    public double getDouble()
    {
        return record.getDouble(index);
    }

    public byte getByte(int index)
    {
        return record.getByte(index);
    }

    public float getFloat()
    {
        return record.getFloat(index);
    }

    public BigDecimal getBigDecimal()
    {
        return record.getBigDecimal(index);
    }

    public Date getDate()
    {
        return record.getDate(index);
    }

    public Date getTime()
    {
        return record.getTime(index);
    }

    public byte[] getByteArray()
    {
        return record.getByteArray(index);
    }

    public InputStream getBinaryStream()
    {
        return record.getBinaryStream(index);
    }

    public Reader getCharacterStream()
    {
        return record.getCharacterStream(index);
    }

    public JCO$Table getTable()
    {
        return record.getTable(index);
    }

    public ure getStructure()
    {
        return record.getStructure(index);
    }

    public void setValue(Object value)
    {
        record.setValue(value, index);
    }

    public void setValue(String value)
    {
        record.setValue(value, index);
    }

    public void setValue(char value)
    {
        record.setValue(value, index);
    }

    public void setValue(short value)
    {
        record.setValue(value, index);
    }

    public void setValue(int value)
    {
        record.setValue(value, index);
    }

    public void setValue(long value)
    {
        record.setValue(value, index);
    }

    public void setValue(double value)
    {
        record.setValue(value, index);
    }

    public void setValue(byte value[])
    {
        record.setValue(value, index);
    }

    public void setValue(ure value)
    {
        record.setValue(value, index);
    }

    public void setValue(JCO$Table value)
    {
        record.setValue(value, index);
    }

    private  record;
    int index;

    protected JCO$Field( record, int index)
    {
        this.record = record;
        this.index = index;
    }
}

⌨️ 快捷键说明

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