org.neodatis.odb.core.layers.layer3
Class IOFileParameter

java.lang.Object
  extended by org.neodatis.odb.core.layers.layer3.IOFileParameter
All Implemented Interfaces:
IBaseIdentification
Direct Known Subclasses:
ServerFileParameter

public class IOFileParameter
extends java.lang.Object
implements IBaseIdentification

Database Parameters for local database access

Author:
osmadja

Constructor Summary
IOFileParameter(java.lang.String name, boolean write, java.lang.String user, java.lang.String password)
           
 
Method Summary
 boolean canWrite()
           
 java.lang.String getCleanFileName()
           
 java.lang.String getDirectory()
           
 java.lang.String getFileName()
           
 java.lang.String getIdentification()
           
 java.lang.String getPassword()
           
 java.lang.String getUserName()
           
 boolean isLocal()
           
 boolean isNew()
           
 void setCanWrite(boolean canWrite)
           
 void setFileName(java.lang.String fileName)
           
 void setPassword(java.lang.String password)
           
 void setUserName(java.lang.String user)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IOFileParameter

public IOFileParameter(java.lang.String name,
                       boolean write,
                       java.lang.String user,
                       java.lang.String password)
Method Detail

canWrite

public boolean canWrite()
Specified by:
canWrite in interface IBaseIdentification

setCanWrite

public void setCanWrite(boolean canWrite)

getFileName

public java.lang.String getFileName()

setFileName

public void setFileName(java.lang.String fileName)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDirectory

public java.lang.String getDirectory()
Specified by:
getDirectory in interface IBaseIdentification

getCleanFileName

public java.lang.String getCleanFileName()

getIdentification

public java.lang.String getIdentification()
Specified by:
getIdentification in interface IBaseIdentification

isNew

public boolean isNew()
Specified by:
isNew in interface IBaseIdentification

isLocal

public boolean isLocal()
Specified by:
isLocal in interface IBaseIdentification

getUserName

public java.lang.String getUserName()
Specified by:
getUserName in interface IBaseIdentification

setUserName

public void setUserName(java.lang.String user)

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface IBaseIdentification

setPassword

public void setPassword(java.lang.String password)