ru.j1c
Class AbstractRegisterRecordSet.AbstractRegisterRecord

java.lang.Object
  extended by ru.j1c.AbstractRegisterRecordSet.AbstractRegisterRecord
All Implemented Interfaces:
RegisterRecord
Enclosing class:
AbstractRegisterRecordSet

public class AbstractRegisterRecordSet.AbstractRegisterRecord
extends Object
implements RegisterRecord


Field Summary
 
Fields inherited from interface ru.j1c.RegisterRecord
EXPENSE, RECEIPT
 
Method Summary
<T> T
getAttribute(String name)
          Получить атрибут, ресурс, реквизит регистра
 int getLine()
          Получить номер строки движения
 int getLineDocument()
          Получить номер строки документа, в случае если была осуществлена привязка номера строки к проводке
 boolean isIncome()
          Получить признак направления записи
<T> void
setAttribute(String name, T value)
          Установить атрибут, ресурс, реквизит регистра
 void setLineDocument(int line)
          Установить номер строки документа, если осуществляется привязка номера строки к проводке
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getAttribute

public <T> T getAttribute(String name)
Description copied from interface: RegisterRecord
Получить атрибут, ресурс, реквизит регистра

Specified by:
getAttribute in interface RegisterRecord
Parameters:
name - Имя
Returns:
Значение

getLine

public int getLine()
Description copied from interface: RegisterRecord
Получить номер строки движения

Specified by:
getLine in interface RegisterRecord
Returns:
Номер строки

getLineDocument

public int getLineDocument()
Description copied from interface: RegisterRecord
Получить номер строки документа, в случае если была осуществлена привязка номера строки к проводке

Specified by:
getLineDocument in interface RegisterRecord
Returns:
Номер строки документа

setAttribute

public <T> void setAttribute(String name,
                             T value)
Description copied from interface: RegisterRecord
Установить атрибут, ресурс, реквизит регистра

Specified by:
setAttribute in interface RegisterRecord
Parameters:
name - Имя
value - Значение

setLineDocument

public void setLineDocument(int line)
Description copied from interface: RegisterRecord
Установить номер строки документа, если осуществляется привязка номера строки к проводке

Specified by:
setLineDocument in interface RegisterRecord
Parameters:
line - Номер строки документа.

isIncome

public boolean isIncome()
Description copied from interface: RegisterRecord
Получить признак направления записи

Specified by:
isIncome in interface RegisterRecord
Returns:
true - приход, false - расход

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 J1C corp. All Rights Reserved.