|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ohrasys.cad.gds.dao.Structure
public class Structure
A structure data access object
| Constructor Summary | |
|---|---|
Structure()
Creates a new Structure object. |
|
Structure(java.lang.String name)
Creates a new Structure object. |
|
Structure(java.lang.String name,
java.util.Date accessed,
java.util.Date modified,
Element[] elements)
Creates a new Structure object. |
|
Structure(java.lang.String name,
java.util.Date accessed,
java.util.Date modified,
int structureClass,
Element[] elements)
Creates a new Structure object. |
|
Structure(java.lang.String name,
Element[] elements)
Creates a new Structure object. |
|
| Method Summary | |
|---|---|
java.util.Date |
getAccessed()
Getter for property accessed. |
Element[] |
getElements()
Setter for the elements property |
java.lang.String |
getInfo()
Returns a textual representation of the structure |
java.util.Date |
getModified()
Getter for property modified. |
java.lang.String |
getName()
Getter for property name. |
int |
getStructureClass()
Getter for property structureClass. |
void |
setAccessed(java.util.Date accessed)
Setter for property accessed. |
void |
setElements(Element[] elements)
Setter for the elements property |
void |
setModified(java.util.Date modified)
Setter for property modified. |
void |
setName(java.lang.String name)
Setter for property name. |
void |
setStructureClass(int structureClass)
Setter for property structureClass. |
java.lang.String |
toString()
Returns a string representation of the structure |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Structure()
public Structure(java.lang.String name)
name - The name of the structure
public Structure(java.lang.String name,
Element[] elements)
name - The name of the structureelements - The elements that define the structure
public Structure(java.lang.String name,
java.util.Date accessed,
java.util.Date modified,
Element[] elements)
name - The name of the strucutureaccessed - The date the structure was last accessedmodified - The date the structure was last modifiedelements - The elements that define the structure
public Structure(java.lang.String name,
java.util.Date accessed,
java.util.Date modified,
int structureClass,
Element[] elements)
name - The name of the structureaccessed - The date the structure was last accessedmodified - The data the structure was last modifiedstructureClass - The object group the structure belongs toelements - The elements that define the structure| Method Detail |
|---|
public java.util.Date getAccessed()
public Element[] getElements()
public java.lang.String getInfo()
getInfo in interface InfoProviderpublic java.util.Date getModified()
public java.lang.String getName()
public int getStructureClass()
public void setAccessed(java.util.Date accessed)
accessed - New value of property accessed.public void setElements(Element[] elements)
elements - The value of the elements propertypublic void setModified(java.util.Date modified)
modified - New value of property modified.public void setName(java.lang.String name)
name - New value of property name.public void setStructureClass(int structureClass)
structureClass - New value of property structureClass.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||