|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.workspace.models.BaseModel
This is the parent class for most of the models objects
http://maven.apache.org/reference/project-descriptor.html
,
http://db.apache.org/torque/generator/schema-reference.html
,
http://db.apache.org/torque/generator/database.dtd.txt
,
Serialized FormConstructor Summary | |
BaseModel(java.lang.String pName)
Construct a standard NOModel |
Method Summary | |
java.lang.String |
getAlternateProjectId()
Get the alternate project id |
java.lang.String |
getAuthorEmail()
Get the email of the author of the model |
java.lang.String |
getBaseClass()
Get the name of the base class (Object-Model) |
java.lang.String |
getBasePeer()
Get the name of the base peer (Object-Model) |
abstract java.lang.String |
getBestFilename()
Return the best possible filename for save |
org.apache.maven.project.Build |
getBuild()
Get the build |
java.lang.String |
getBuildDatabaseUrl()
Get The URL that will be used to access your database. |
java.util.Vector |
getClasses()
Return the classes of the model |
java.lang.String |
getCompany()
Get the company to which the project depends on |
java.util.Vector |
getContributors()
Get the contributors |
static int |
getCountInstance()
Get a serial number |
java.lang.String |
getCreateDatabaseUrl()
Get the URL that Torque can use to create and drop databases |
java.lang.String |
getCurrentVersion()
Get th the current version |
java.lang.String |
getDatabaseDriver()
Get the DatabseDriver to Test Connect |
java.lang.String |
getDatabaseHost()
Get the hostname or IP address of your database server |
java.lang.String |
getDatabasePassword()
Get the administrative password for the supplied username |
java.lang.String |
getDatabaseUser()
Get the administrative username that has sufficient privileges to create and drop databases and tables |
int |
getDbType()
Get the database type |
java.lang.String |
getDefaultIdMethod()
Get how will the primary keys be created |
java.lang.String |
getDefaultJavaNamingMethod()
Get the default java naming method |
java.lang.String |
getDefaultJavaType()
Default type of columns in the database |
java.util.Vector |
getDependencies()
Get the dependencies |
java.lang.String |
getDescription()
Get the description |
java.util.Vector |
getDevelopers()
Return a reference to all the developers |
java.lang.String |
getDistributionDirectory()
Get the distribution directory |
CustomTreeNode |
getDynamicTreeNode()
Get the associated node |
java.lang.String |
getFileForSave()
Get the file path to save |
java.lang.String |
getGroupId()
Get the group id |
boolean |
getHeavyIndexing()
Heavy indexing |
java.lang.String |
getId()
Get the code of the model |
java.lang.String |
getInceptionYear()
get the inception year |
InheritanceLink |
getInheritanceLinkAt(int i)
Return an inheritance links of the model |
java.util.Vector |
getInheritanceLinks()
Return the inheritance links of the model |
java.lang.String |
getIssueTrackingUrl()
Get the issue tracking url |
java.util.Vector |
getLabels()
Return the labels of the model |
java.util.Vector |
getLicenses()
Get the licenses |
java.util.Vector |
getLinks()
Return the inheritance links, constraints, halfAssociations of the model |
java.lang.String |
getLocalDirectory()
Get the local directory |
java.lang.String |
getLogo()
Get the logo |
java.util.Vector |
getMailingLists()
Get the mailing list |
abstract BaseObject[] |
getModelObjects()
return the objects of the model |
abstract BaseModelView |
getModelView()
Get the model view |
java.lang.String |
getName()
Get the name of the model |
java.lang.String |
getNotes()
Get the notes of the model |
java.lang.String |
getOrganizationLogo()
Get the organization logo |
java.lang.String |
getOrganizationName()
Get the organization name |
java.lang.String |
getOrganizationUrl()
Get the organization url |
java.lang.String |
getPackageName()
Get the name of the java package (Object-Model) |
javax.swing.JPanel |
getPanel()
Get the panel associated |
java.lang.String |
getParentProject()
Get the parent project |
java.util.Vector |
getProjectProperties()
Get the project properties |
java.lang.String |
getProjectURL()
Get the project url |
java.util.Vector |
getProperties()
Get the properties |
NORedoLog |
getRedoLog()
Get the redolog stack |
java.lang.String |
getRepositoryConnection()
Get the Repository Connection |
java.lang.String |
getRepositoryUrl()
Get the repository url |
java.lang.String |
getSchema()
Get the schema that Torque can use to create and drop databases |
java.lang.String |
getShortDescription()
Get the short description |
java.lang.String |
getSiteAddress()
Get the site adress |
java.lang.String |
getSiteAdress()
Get the site adress |
java.lang.String |
getSiteDirectory()
Get the site directory |
boolean |
isSaved()
The model is saved |
boolean |
isVerified()
The model is verified |
void |
setAlternateProjectId(java.lang.String string)
Set the alternate project id |
void |
setBaseClass(java.lang.String pBaseClass)
Set the name of the base class (Object-Model) |
void |
setBasePeer(java.lang.String pBasePeer)
Set the name of the base peer (Object-Model) |
void |
setBuild(org.apache.maven.project.Build pBuild)
Set the build |
void |
setBuildDatabaseUrl(java.lang.String pBuildDatabaseUrl)
Set The URL that will be used to access your database. |
void |
setCompany(java.lang.String pCompany)
Set the company to which the project depends on |
void |
setContributors(java.util.Vector vector)
Set the contributors |
void |
setCreateDatabaseUrl(java.lang.String pCreateDatabaseUrl)
Set the URL that Torque can use to create and drop databases |
void |
setCurrentVersion(java.lang.String string)
Set the current version |
void |
setDatabaseDriver(java.lang.String pDatabaseDriver)
Set the JDBC Driver to use for Test Connect |
void |
setDatabaseHost(java.lang.String pDatabaseHost)
Set the hostname or IP address of your database server |
void |
setDatabasePassword(java.lang.String pDatabasePassword)
Set the administrative password for the supplied username |
void |
setDatabaseUser(java.lang.String pDatabaseUser)
Set the administrative username that has sufficient privileges to create and drop databases and tables |
void |
setDbType(int pDbType)
Set the database type |
void |
setDefaultIdMethod(java.lang.String pDefaultIdMethod)
Set how will the primary keys be created |
void |
setDefaultJavaNamingMethod(java.lang.String pMethod)
Determines how table or column names, from the name attribute of the table or column element, are converted to a Java class or method name respectively when creating the OM Java objects |
void |
setDefaultJavaType(java.lang.String pDefaultJavaType)
Default type of columns in the database |
void |
setDependencies(java.util.Vector vector)
Set a reference to a dependencies vector |
void |
setDescription(java.lang.String pDescription)
Set a description |
void |
setDevelopers(java.util.Vector vector)
Set the developers |
void |
setDistributionDirectory(java.lang.String string)
Set the distribution directory |
void |
setDynamicTreeNode(CustomTreeNode pNode)
Set the node associated |
void |
setFileForSave(java.lang.String pFileForSave)
Set the file path to save |
void |
setGroupId(java.lang.String string)
Set the group id |
void |
setHeavyIndexing(boolean pHeavyIndexing)
- |
void |
setId(java.lang.String pCode)
Set the code of the model |
void |
setInceptionYear(java.lang.String string)
Set the inception year |
void |
setIssueTrackingUrl(java.lang.String string)
set the issue tracking url |
void |
setLicenses(java.util.Vector vector)
Set the licenses |
void |
setLocalDirectory(java.lang.String string)
Set the local directory |
void |
setLogo(java.lang.String string)
Set the logo |
void |
setMailingLists(java.util.Vector vector)
Set the mailing lists |
void |
setName(java.lang.String pName)
Set the name of the model |
void |
setNotes(java.lang.String pNotes)
Set the notes of the project |
void |
setOrganizationLogo(java.lang.String string)
The organization logo |
void |
setOrganizationName(java.lang.String string)
Set the organization name |
void |
setOrganizationUrl(java.lang.String string)
Set the organization name |
void |
setPackageName(java.lang.String pPackageName)
Set the name of the java package (Object-Model) |
void |
setPanel(javax.swing.JPanel pPanel)
Set the panel associated |
void |
setParentProject(java.lang.String string)
Set the parent project id |
void |
setProjectProperties(java.util.Vector vector)
Set( the project properties |
void |
setProjectURL(java.lang.String pProjectURL)
Set the HTTP address of the project |
void |
setProperties(java.util.Vector vector)
Set the properties |
void |
setRepositoryConnection(java.lang.String string)
Set the repository connection |
void |
setRepositoryUrl(java.lang.String string)
Set the repository url |
void |
setSaved(boolean b)
The model is saved |
void |
setSchema(java.lang.String pSchema)
Set The schema that will be used to access your database. |
void |
setShortDescription(java.lang.String string)
Set the short description |
void |
setSiteAddress(java.lang.String string)
Set the site adress |
void |
setSiteDirectory(java.lang.String string)
Set the site directory |
void |
setVerified(boolean b)
The model is verified |
java.lang.String |
toString()
Returns a String representation of the NOModel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BaseModel(java.lang.String pName)
pName
- the model nameMethod Detail |
public abstract BaseObject[] getModelObjects()
public abstract java.lang.String getBestFilename()
public abstract BaseModelView getModelView()
public final java.lang.String toString()
public final void setDynamicTreeNode(CustomTreeNode pNode)
pNode
- the nodepublic final void setPanel(javax.swing.JPanel pPanel)
pPanel
- the panelpublic final void setId(java.lang.String pCode)
pCode
- the new codepublic final void setNotes(java.lang.String pNotes)
pNotes
- some notes on the projectpublic final void setCompany(java.lang.String pCompany)
pCompany
- the author companypublic final void setProjectURL(java.lang.String pProjectURL)
pProjectURL
- the project urlpublic final void setPackageName(java.lang.String pPackageName)
pPackageName
- the package namepublic final void setBaseClass(java.lang.String pBaseClass)
pBaseClass
- the base classpublic final void setBasePeer(java.lang.String pBasePeer)
pBasePeer
- the basePeerpublic final void setDefaultJavaNamingMethod(java.lang.String pMethod)
pMethod
- the default java naming methodpublic final void setDefaultJavaType(java.lang.String pDefaultJavaType)
pDefaultJavaType
- the default java typepublic final void setFileForSave(java.lang.String pFileForSave)
pFileForSave
- the file for savepublic final void setDbType(int pDbType)
pDbType
- the db typepublic final void setCreateDatabaseUrl(java.lang.String pCreateDatabaseUrl)
pCreateDatabaseUrl
- the create database urlpublic final void setBuildDatabaseUrl(java.lang.String pBuildDatabaseUrl)
pBuildDatabaseUrl
- the build database urlpublic final void setSchema(java.lang.String pSchema)
pSchema
- the schemapublic final void setDatabaseUser(java.lang.String pDatabaseUser)
pDatabaseUser
- the database userpublic final void setDatabasePassword(java.lang.String pDatabasePassword)
pDatabasePassword
- the database passwordpublic final void setDatabaseDriver(java.lang.String pDatabaseDriver)
pDatabaseDriver
- the database driverpublic final void setDatabaseHost(java.lang.String pDatabaseHost)
pDatabaseHost
- the database hostpublic final void setDefaultIdMethod(java.lang.String pDefaultIdMethod)
pDefaultIdMethod
- the default id methodpublic final void setHeavyIndexing(boolean pHeavyIndexing)
pHeavyIndexing
- heavyindexingpublic final void setDescription(java.lang.String pDescription)
pDescription
- the descriptionpublic final void setName(java.lang.String pName)
pName
- the new namepublic final CustomTreeNode getDynamicTreeNode()
public final javax.swing.JPanel getPanel()
public final java.lang.String getId()
public final java.lang.String getNotes()
public final java.lang.String getAuthorEmail()
public final java.lang.String getCompany()
public final java.lang.String getProjectURL()
public final java.lang.String getPackageName()
public final java.lang.String getBaseClass()
public final java.lang.String getBasePeer()
public final java.lang.String getDefaultJavaNamingMethod()
public final java.lang.String getDefaultJavaType()
public final java.lang.String getFileForSave()
public final int getDbType()
public final java.lang.String getCreateDatabaseUrl()
public final java.lang.String getBuildDatabaseUrl()
public final java.lang.String getSchema()
public final java.lang.String getDatabaseUser()
public final java.lang.String getDatabasePassword()
public final java.lang.String getDatabaseDriver()
public final java.lang.String getDatabaseHost()
public final java.lang.String getDefaultIdMethod()
public final boolean getHeavyIndexing()
public final java.lang.String getDescription()
public final java.lang.String getName()
public final java.util.Vector getInheritanceLinks()
public final InheritanceLink getInheritanceLinkAt(int i)
i
- index
public final java.util.Vector getClasses()
public final java.util.Vector getLinks()
public final java.util.Vector getLabels()
public final boolean isSaved()
public final boolean isVerified()
public final void setSaved(boolean b)
b
- is savedpublic final void setVerified(boolean b)
b
- is verifiedpublic final java.util.Vector getDevelopers()
public final void setDependencies(java.util.Vector vector)
vector
- the dependenciespublic final java.lang.String getRepositoryConnection()
public final void setRepositoryConnection(java.lang.String string)
string
- the repository connectionpublic final java.lang.String getIssueTrackingUrl()
public final java.lang.String getRepositoryUrl()
public final java.lang.String getSiteAdress()
public final java.lang.String getSiteDirectory()
public final void setIssueTrackingUrl(java.lang.String string)
string
- the issue tracking urlpublic final void setRepositoryUrl(java.lang.String string)
string
- the repository urlpublic final void setSiteAddress(java.lang.String string)
string
- the site adresspublic final void setSiteDirectory(java.lang.String string)
string
- the site directorypublic final java.lang.String getCurrentVersion()
public final java.util.Vector getDependencies()
public final java.lang.String getDistributionDirectory()
public final java.lang.String getGroupId()
public final void setCurrentVersion(java.lang.String string)
string
- the current versionpublic final void setDistributionDirectory(java.lang.String string)
string
- the distribution directorypublic final void setGroupId(java.lang.String string)
string
- the group idpublic final java.lang.String getOrganizationLogo()
public final java.lang.String getOrganizationName()
public final java.lang.String getOrganizationUrl()
public final void setOrganizationLogo(java.lang.String string)
string
- the organization logopublic final void setOrganizationName(java.lang.String string)
string
- the organization namepublic final void setOrganizationUrl(java.lang.String string)
string
- the organization namepublic final java.lang.String getInceptionYear()
public final void setInceptionYear(java.lang.String string)
string
- the inception yearpublic final java.lang.String getLogo()
public final void setLogo(java.lang.String string)
string
- the logopublic final java.lang.String getLocalDirectory()
public final void setLocalDirectory(java.lang.String string)
string
- the local direcorypublic final java.lang.String getAlternateProjectId()
public final java.lang.String getParentProject()
public final void setAlternateProjectId(java.lang.String string)
string
- alternate project idpublic final void setParentProject(java.lang.String string)
string
- the parent project idpublic final java.util.Vector getProjectProperties()
public final void setProjectProperties(java.util.Vector vector)
vector
- the project propertiespublic final java.lang.String getShortDescription()
public final void setShortDescription(java.lang.String string)
string
- the short descriptionpublic final org.apache.maven.project.Build getBuild()
public final void setBuild(org.apache.maven.project.Build pBuild)
pBuild
- the buildpublic final java.util.Vector getLicenses()
public final void setLicenses(java.util.Vector vector)
vector
- the licensespublic final java.util.Vector getContributors()
public final java.util.Vector getMailingLists()
public final java.lang.String getSiteAddress()
public final void setContributors(java.util.Vector vector)
vector
- the contributorspublic final void setMailingLists(java.util.Vector vector)
vector
- the mailing listspublic final void setDevelopers(java.util.Vector vector)
vector
- the developerspublic final java.util.Vector getProperties()
public final void setProperties(java.util.Vector vector)
vector
- the propertiespublic static int getCountInstance()
public final NORedoLog getRedoLog()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |