com.infoteria.asteria.flowbuilder2.stream
Class StreamDefinition

java.lang.Object
  |
  +--com.infoteria.gui.property.inspector.AbstractPropertyEditable
        |
        +--com.infoteria.asteria.flowbuilder2.stream.StreamDefinition
All Implemented Interfaces:
com.infoteria.asteria.flowbuilder2.aspect.AspectOrientable, java.lang.Cloneable, com.infoteria.gui.property.inspector.PropertyEditable, PropertyHolder

public class StreamDefinition
extends com.infoteria.gui.property.inspector.AbstractPropertyEditable
implements PropertyHolder, java.lang.Cloneable, com.infoteria.asteria.flowbuilder2.aspect.AspectOrientable

ストリーム定義
通常プラグイン開発者が自分でストリーム定義を作成することはありません。
ほとんどの場合必要な操作は
- getPropertyによってプロパティを取得して操作する
- getFieldDefinitionによってFieldDefintionを取得して操作する
のみです。


Fields inherited from class com.infoteria.gui.property.inspector.AbstractPropertyEditable
_listenerList, _propList
 
Constructor Summary
StreamDefinition(ComponentConnector con, boolean allowAny)
           
StreamDefinition(int acceptTypes, int type, java.util.List propList, FieldDefinition fd)
           
 
Method Summary
 void addFieldDefinitionListener(FieldDefinitionListener l)
           
 void addProperty(Property prop)
           
 void applyLoadingDefault()
           
 void assignToFormat(com.infoteria.asteria.flowengine2.aspect.Format format)
           
 StreamDefinition clone(ComponentConnector con)
           
 javax.swing.undo.UndoableEdit copyFormat(com.infoteria.asteria.flowengine2.aspect.Format format)
           
 javax.swing.undo.UndoableEdit discardReference()
           
protected  void doSetAspectProperties(javax.swing.undo.CompoundEdit undoEdit, com.infoteria.asteria.flowengine2.aspect.Format format)
           
 int getAcceptStreamTypes()
           
 java.lang.String[] getCategoryNames()
           
 java.lang.String getDisplayCategoryName(java.lang.String name)
           
 FieldCountProperty getFieldCountProperty()
           
 FieldDefinition getFieldDefinition()
          FieldDefinitionを取得します。
 java.lang.String getName()
           
 ComponentConnector getOwnerConnector()
           
 PropertyHolder getPropertyHolder(java.lang.String name)
           
 java.lang.String getReferenceId()
           
 int getStreamType()
           
 StreamTypeProperty getStreamTypeProperty()
           
 StreamDefinition getSyncDefinition()
           
 javax.swing.undo.UndoableEdit importFieldDefinition(int type, FieldDefinition fd)
           
 javax.swing.undo.UndoableEdit importFieldDefinition(int type, FieldDefinition fd, boolean keepFieldId)
           
 javax.swing.undo.UndoableEdit importStreamDefinition(StreamDefinition sd)
           
 javax.swing.undo.UndoableEdit importStreamDefinition(StreamDefinition sd, boolean keepFieldId)
           
 boolean isAcceptType(int type)
           
 boolean isStreamReadOnly()
           
 javax.swing.undo.UndoableEdit referFormat(com.infoteria.asteria.flowengine2.aspect.Format format)
           
 void removeFieldDefinitionListener(FieldDefinitionListener l)
           
 void removeProperty(Property prop)
           
 javax.swing.undo.UndoableEdit setAcceptStreamTypes(int type)
           
 void setReferenceId(java.lang.String id)
           
 void setStreamReadOnly(boolean value)
           
 javax.swing.undo.UndoableEdit setStreamType(int nv)
           
 void setSyncDefinition(StreamDefinition sd)
           
 boolean synchronizeFormat()
           
 
Methods inherited from class com.infoteria.gui.property.inspector.AbstractPropertyEditable
addPropertyEditableListener, clone, firePropertyEditableEvent, firePropertyStructureChanged, getProperties, getProperty, getPropertyCount, getValueChangedListener, isReadOnly, removePropertyEditableListener, setReadOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.infoteria.gui.property.PropertyHolder
getProperties, getProperty, getPropertyCount
 

Constructor Detail

StreamDefinition

public StreamDefinition(ComponentConnector con,
                        boolean allowAny)

StreamDefinition

public StreamDefinition(int acceptTypes,
                        int type,
                        java.util.List propList,
                        FieldDefinition fd)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: PropertyHolder
名前を返します。
Specified by:
getName in interface PropertyHolder
Overrides:
getName in class com.infoteria.gui.property.inspector.AbstractPropertyEditable

getOwnerConnector

public ComponentConnector getOwnerConnector()

getCategoryNames

public java.lang.String[] getCategoryNames()
Overrides:
getCategoryNames in class com.infoteria.gui.property.inspector.AbstractPropertyEditable

getPropertyHolder

public PropertyHolder getPropertyHolder(java.lang.String name)
Overrides:
getPropertyHolder in class com.infoteria.gui.property.inspector.AbstractPropertyEditable

getDisplayCategoryName

public java.lang.String getDisplayCategoryName(java.lang.String name)
Overrides:
getDisplayCategoryName in class com.infoteria.gui.property.inspector.AbstractPropertyEditable

getStreamTypeProperty

public StreamTypeProperty getStreamTypeProperty()

getStreamType

public int getStreamType()

getAcceptStreamTypes

public int getAcceptStreamTypes()

isStreamReadOnly

public boolean isStreamReadOnly()

setStreamReadOnly

public void setStreamReadOnly(boolean value)

setAcceptStreamTypes

public javax.swing.undo.UndoableEdit setAcceptStreamTypes(int type)

isAcceptType

public boolean isAcceptType(int type)

getFieldCountProperty

public FieldCountProperty getFieldCountProperty()

addProperty

public void addProperty(Property prop)
Description copied from interface: PropertyHolder
プロパティを追加します。
Specified by:
addProperty in interface PropertyHolder
Overrides:
addProperty in class com.infoteria.gui.property.inspector.AbstractPropertyEditable

removeProperty

public void removeProperty(Property prop)
Description copied from interface: PropertyHolder
プロパティを削除します。
Specified by:
removeProperty in interface PropertyHolder
Overrides:
removeProperty in class com.infoteria.gui.property.inspector.AbstractPropertyEditable

getFieldDefinition

public FieldDefinition getFieldDefinition()
FieldDefinitionを取得します。

addFieldDefinitionListener

public void addFieldDefinitionListener(FieldDefinitionListener l)

removeFieldDefinitionListener

public void removeFieldDefinitionListener(FieldDefinitionListener l)

setStreamType

public javax.swing.undo.UndoableEdit setStreamType(int nv)

applyLoadingDefault

public void applyLoadingDefault()

importStreamDefinition

public javax.swing.undo.UndoableEdit importStreamDefinition(StreamDefinition sd)

importStreamDefinition

public javax.swing.undo.UndoableEdit importStreamDefinition(StreamDefinition sd,
                                                            boolean keepFieldId)

importFieldDefinition

public javax.swing.undo.UndoableEdit importFieldDefinition(int type,
                                                           FieldDefinition fd)

importFieldDefinition

public javax.swing.undo.UndoableEdit importFieldDefinition(int type,
                                                           FieldDefinition fd,
                                                           boolean keepFieldId)

getSyncDefinition

public StreamDefinition getSyncDefinition()

setSyncDefinition

public void setSyncDefinition(StreamDefinition sd)

clone

public StreamDefinition clone(ComponentConnector con)

getReferenceId

public java.lang.String getReferenceId()
Specified by:
getReferenceId in interface com.infoteria.asteria.flowbuilder2.aspect.AspectOrientable

setReferenceId

public void setReferenceId(java.lang.String id)

synchronizeFormat

public boolean synchronizeFormat()
Specified by:
synchronizeFormat in interface com.infoteria.asteria.flowbuilder2.aspect.AspectOrientable

referFormat

public javax.swing.undo.UndoableEdit referFormat(com.infoteria.asteria.flowengine2.aspect.Format format)
Specified by:
referFormat in interface com.infoteria.asteria.flowbuilder2.aspect.AspectOrientable

copyFormat

public javax.swing.undo.UndoableEdit copyFormat(com.infoteria.asteria.flowengine2.aspect.Format format)
Specified by:
copyFormat in interface com.infoteria.asteria.flowbuilder2.aspect.AspectOrientable

doSetAspectProperties

protected void doSetAspectProperties(javax.swing.undo.CompoundEdit undoEdit,
                                     com.infoteria.asteria.flowengine2.aspect.Format format)

discardReference

public javax.swing.undo.UndoableEdit discardReference()
Specified by:
discardReference in interface com.infoteria.asteria.flowbuilder2.aspect.AspectOrientable

assignToFormat

public void assignToFormat(com.infoteria.asteria.flowengine2.aspect.Format format)
Specified by:
assignToFormat in interface com.infoteria.asteria.flowbuilder2.aspect.AspectOrientable