| Type | Property and Description |
|---|---|
javafx.beans.property.BooleanProperty |
dirty
A
BooleanProperty that observes the changes made to the Dirtyable instance |
javafx.beans.property.Property<java.lang.Boolean> |
editable |
javafx.beans.property.Property<java.lang.String> |
name |
| Constructor and Description |
|---|
Source()
Initializes a new instance of the
Source class |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp()
Clear the dirty status of the
Dirtyable instance |
void |
close() |
javafx.beans.property.BooleanProperty |
dirtyProperty()
A
BooleanProperty that observes the changes made to the Dirtyable instance |
javafx.beans.property.Property<java.lang.Boolean> |
editableProperty() |
DataAdapter |
getAdapter() |
java.lang.String |
getAdapterClassName()
The name of the class that implements the
DataAdapter for the Source |
java.util.UUID |
getAdapterId()
Gets the id of the
DataAdapter attached to the source |
java.util.Map<java.lang.String,java.lang.String> |
getAdapterParams()
Returns a map of the parameters required to establish a connection to the data source
|
BindingManager |
getBindingManager() |
java.lang.Boolean |
getEditable()
Gets the value of the property editable.
|
java.lang.String |
getName()
The name of the
Source |
java.lang.Boolean |
isDirty()
Gets the value of the property dirty.
|
javafx.beans.property.Property<java.lang.String> |
nameProperty() |
static Source |
of(DataAdapter adapter)
Creates an instance of the
Source class from the provided DataAdapter |
void |
setAdapter(DataAdapter adapter) |
void |
setAdapterId(java.util.UUID adapterId)
Sets the id of the
DataAdapter attached to the source |
void |
setEditable(java.lang.Boolean editable)
Sets the value of the property editable.
|
void |
setName(java.lang.String name)
The name of the
Source |
public javafx.beans.property.Property<java.lang.String> nameProperty
getName(),
setName(String)public javafx.beans.property.BooleanProperty dirtyProperty
dirtyProperty in interface DirtyableisDirty()public javafx.beans.property.Property<java.lang.Boolean> editableProperty
getEditable(),
setEditable(Boolean)public Source()
Source classpublic static Source of(DataAdapter adapter)
Source class from the provided DataAdapteradapter - the DataAdapter to create the Source instance fromSource class from the provided DataAdapterpublic void setName(java.lang.String name)
Sourcename - the name of the Sourcepublic javafx.beans.property.Property<java.lang.String> nameProperty()
getName(),
setName(String)public java.lang.String getAdapterClassName()
DataAdapter for the SourceDataAdapter for the Sourcepublic java.util.Map<java.lang.String,java.lang.String> getAdapterParams()
public java.util.UUID getAdapterId()
DataAdapter attached to the sourceDataAdapter attached to the sourcepublic void setAdapterId(java.util.UUID adapterId)
DataAdapter attached to the sourceadapterId - the id of the DataAdapter attached to the sourcepublic java.lang.Boolean isDirty()
public javafx.beans.property.BooleanProperty dirtyProperty()
DirtyableBooleanProperty that observes the changes made to the Dirtyable instancedirtyProperty in interface DirtyableisDirty()public void cleanUp()
DirtyableDirtyable instancepublic DataAdapter getAdapter()
public BindingManager getBindingManager()
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic void setAdapter(DataAdapter adapter)
public java.lang.Boolean getEditable()
public javafx.beans.property.Property<java.lang.Boolean> editableProperty()
getEditable(),
setEditable(Boolean)public void setEditable(java.lang.Boolean editable)
Copyright © 2018 Frederic Thevenet. All rights reserved.