ru.j1c
Class Metadatas.Plan

java.lang.Object
  extended by ru.j1c.Metadatas.Reference
      extended by ru.j1c.Metadatas.Plan
All Implemented Interfaces:
Serializable, Comparable, Metadatas.Distribution
Enclosing class:
Metadatas

public final class Metadatas.Plan
extends Metadatas.Reference
implements Metadatas.Distribution

Класс метаданных описывающий план счетов. Используется при описании счетов (AccountReference)

Author:
max
See Also:
Serialized Form

Method Summary
 Metadatas.AccountValue getAccount(String code)
          Получить счет по коду
 List<Metadatas.AccountValue> getAccounts()
          Получить коллекцию счетов принадлежащую данному плану счетов
 String getPattern()
          Получить шаблон кода плана счетов
 Metadatas.DistributionRule getRule()
           
 char symbol()
          Идентификатор определяющий тип данных
 String toString()
           
 
Methods inherited from class ru.j1c.Metadatas.Reference
compareTo, equals, getComment, getId, getMetaData, getName, getSynonym, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getAccounts

public List<Metadatas.AccountValue> getAccounts()
Получить коллекцию счетов принадлежащую данному плану счетов

Returns:
Коллекция счетов

getAccount

public Metadatas.AccountValue getAccount(String code)
Получить счет по коду

Returns:
Счет

getPattern

public String getPattern()
Получить шаблон кода плана счетов

Returns:
Шаблон кода, как задан в конфигураторе

toString

public String toString()
Overrides:
toString in class Metadatas.Reference

symbol

public char symbol()
Description copied from class: Metadatas.Reference
Идентификатор определяющий тип данных

Specified by:
symbol in class Metadatas.Reference
Returns:
Символ метаданных

getRule

public Metadatas.DistributionRule getRule()
Specified by:
getRule in interface Metadatas.Distribution


Copyright © 2011 J1C corp. All Rights Reserved.