daruma.bus.processor.csv
クラス MispSchema.MispSchemaComplexType

java.lang.Object
  拡張daruma.bus.processor.csv.MispSchema.MispSchemaComplexType
すべての実装インタフェース:
java.lang.Cloneable
含まれているクラス:
MispSchema

public class MispSchema.MispSchemaComplexType
extends java.lang.Object
implements java.lang.Cloneable

DARUMAスキーマの複合型を定義するクラス

作成者:
shumi

コンストラクタの概要
MispSchema.MispSchemaComplexType()
           
 
メソッドの概要
 MispSchema.MispSchemaAttribute addAttribute(int index)
          属性をリストに追加する
 MispSchema.MispSchemaElement addElement(int index)
          要素をリストに追加する
 void copy(MispSchema.MispSchemaComplexType ct)
          複合型をコピーする
 void delAttribute(int index)
          属性をリストから削除する
 void delAttribute(MispSchema.MispSchemaAttribute attr)
          属性をリストから削除する
 void delElement(int index)
          要素をリストから削除する
 void delElement(MispSchema.MispSchemaElement em)
          要素をリストから削除する
 boolean equals(java.lang.Object obj)
          複合型が同じかどうかを比較する
 java.lang.Object[] findAttributes(java.lang.String name)
          指定された名前の属性を取得する
 java.lang.Object[] findElements(java.lang.String name)
          指定された名前の属性を取得する
 MispSchema.MispSchemaAttribute getAttribute(int index)
          指定されたインデックスの属性を取得する
 java.lang.Object[] getAttributeArray()
          属性配列を取得する
 java.lang.Object[] getAttributeElementArray()
          属性、要素配列を取得する
 int getAttributeElementSize()
          属性、要素サイズ配列を取得する
 int getAttributeSize()
          属性リストサイズを取得する
 MispSchema.MispSchemaElement getElement(int index)
          指定されたインデックスの要素を取得する
 java.lang.Object[] getElementArray()
          要素配列を取得する
 int getElementSize()
          要素リストサイズを取得する
 java.lang.String getExtension()
          派生型を取得する
 int getIndex()
          インデックスを返す
 java.lang.String getName()
          複合型名を取得する
 MispSchema getSchema()
           
 void moveAttribute(MispSchema.MispSchemaAttribute attr, int delta)
          属性を移動する
 void moveElement(MispSchema.MispSchemaElement em, int delta)
          要素を移動する
 void setExtension(java.lang.String extension)
          派生型を設定する
 void setName(java.lang.String name)
          複合型名を設定する
 void setNameUpdateReference(java.lang.String newName)
          複合型名を設定する
 java.lang.String toString()
          文字列を返す
 java.lang.String validate(boolean blFirst)
          複合型の検証を行う
 java.lang.String validateAttributeList(boolean blFirst)
          属性リストの検証を行う
 java.lang.String validateElementList(boolean blFirst)
          要素リストの検証を行う
 java.lang.String validateExtension(boolean blFirst)
          派生型の検証を行う
 java.lang.String validateName(boolean blFirst)
          複合型名の検証を行う
 
クラス java.lang.Object から継承したメソッド
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

MispSchema.MispSchemaComplexType

public MispSchema.MispSchemaComplexType()
メソッドの詳細

addAttribute

public MispSchema.MispSchemaAttribute addAttribute(int index)
属性をリストに追加する

パラメータ:
index - 追加位置
戻り値:
追加された属性

addElement

public MispSchema.MispSchemaElement addElement(int index)
要素をリストに追加する

パラメータ:
index - 追加位置
戻り値:
追加する要素

copy

public void copy(MispSchema.MispSchemaComplexType ct)
複合型をコピーする

パラメータ:
ct - コピー先の複合型

delAttribute

public void delAttribute(int index)
属性をリストから削除する

パラメータ:
index - 削除する属性のインデックス

delAttribute

public void delAttribute(MispSchema.MispSchemaAttribute attr)
属性をリストから削除する

パラメータ:
attr - 削除する属性

delElement

public void delElement(int index)
要素をリストから削除する

パラメータ:
index - 削除する要素のインデックス

delElement

public void delElement(MispSchema.MispSchemaElement em)
要素をリストから削除する

パラメータ:
em - 削除する要素

equals

public boolean equals(java.lang.Object obj)
複合型が同じかどうかを比較する

戻り値:
比較された複合型

findAttributes

public java.lang.Object[] findAttributes(java.lang.String name)
指定された名前の属性を取得する

戻り値:
属性の配列

findElements

public java.lang.Object[] findElements(java.lang.String name)
指定された名前の属性を取得する

戻り値:
属性の配列

getAttribute

public MispSchema.MispSchemaAttribute getAttribute(int index)
指定されたインデックスの属性を取得する

戻り値:
属性

getAttributeArray

public java.lang.Object[] getAttributeArray()
属性配列を取得する

戻り値:
属性配列

getAttributeElementArray

public java.lang.Object[] getAttributeElementArray()
属性、要素配列を取得する

戻り値:
属性配列

getAttributeElementSize

public int getAttributeElementSize()
属性、要素サイズ配列を取得する

戻り値:
属性配列

getAttributeSize

public int getAttributeSize()
属性リストサイズを取得する

戻り値:
属性リストサイズ

getElement

public MispSchema.MispSchemaElement getElement(int index)
指定されたインデックスの要素を取得する

戻り値:
要素

getElementArray

public java.lang.Object[] getElementArray()
要素配列を取得する

戻り値:
要素配列

getElementSize

public int getElementSize()
要素リストサイズを取得する

戻り値:
要素リストサイズ

getExtension

public java.lang.String getExtension()
派生型を取得する

戻り値:
派生型

getIndex

public int getIndex()
インデックスを返す

戻り値:
インデックス

getName

public java.lang.String getName()
複合型名を取得する

戻り値:
複合型名

getSchema

public MispSchema getSchema()
戻り値:
Returns the schema.

moveAttribute

public void moveAttribute(MispSchema.MispSchemaAttribute attr,
                          int delta)
属性を移動する

パラメータ:
attr - 移動する属性
delta - 移動量

moveElement

public void moveElement(MispSchema.MispSchemaElement em,
                        int delta)
要素を移動する

パラメータ:
em - 移動する要素
delta - 移動量

setExtension

public void setExtension(java.lang.String extension)
派生型を設定する

パラメータ:
extension - 派生型

setName

public void setName(java.lang.String name)
複合型名を設定する

パラメータ:
name - 複合型名

setNameUpdateReference

public void setNameUpdateReference(java.lang.String newName)
複合型名を設定する

パラメータ:
newName - 複合型名

toString

public java.lang.String toString()
文字列を返す

戻り値:
文字列

validate

public java.lang.String validate(boolean blFirst)
複合型の検証を行う

パラメータ:
blFirst - 全エラーを返すかか最初のエラーのみを返すフラグ
戻り値:
エラーがある場合該当エラーを返す それ以外は空文字を返す

validateAttributeList

public java.lang.String validateAttributeList(boolean blFirst)
属性リストの検証を行う

パラメータ:
blFirst - 全エラーを返すかか最初のエラーのみを返すフラグ
戻り値:
エラーがある場合該当エラーを返す それ以外は空文字を返す

validateElementList

public java.lang.String validateElementList(boolean blFirst)
要素リストの検証を行う

パラメータ:
blFirst - 全エラーを返すかか最初のエラーのみを返すフラグ
戻り値:
エラーがある場合該当エラーを返す それ以外は空文字を返す

validateExtension

public java.lang.String validateExtension(boolean blFirst)
派生型の検証を行う

パラメータ:
blFirst - 全エラーを返すかか最初のエラーのみを返すフラグ
戻り値:
エラーがある場合該当エラーを返す それ以外は空文字を返す

validateName

public java.lang.String validateName(boolean blFirst)
複合型名の検証を行う

パラメータ:
blFirst - 全エラーを返すかか最初のエラーのみを返すフラグ
戻り値:
エラーがある場合該当エラーを返す それ以外は空文字を返す