|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.eci.repository.helper.RepositoryFolderInfo
A class used to represent a folder in the repository. This class only
represents a repository folder (specifically, an
com.bea.eci.repository.ObjectFolder
) and does not affect the
repository (i.e. creating a RepositoryFolderInfo object does not result in a
new folder in the repository).
Objects of this class override the boolean equals(Object)
and
implement the comparable
interface. Homogeneous collections
containing objects of this class may, therefore, be searched and sorted using
the Collection.contains(Object), List.indexOf(Object),
Collections.sort(List)
methods.
Constructor Summary | |
RepositoryFolderInfo(java.lang.String type,
java.lang.String name,
java.lang.String desc,
java.lang.String notes)
Creates a new representation of a repository folder. |
Method Summary | |
int |
compareTo(java.lang.Object obj)
Determines if this RepositoryFolderInfo object is equal, less than, or greater than the passed in RepositoryFolderInfo object. |
boolean |
equals(java.lang.Object obj)
Determines if two RepositoryFolderInfo objects are equal. |
java.sql.Timestamp |
getCreatedOn()
Get when the folder was created. |
java.lang.String |
getDescription()
Get the description of the repository object. |
java.sql.Timestamp |
getLastModifiedOn()
Get when the folder was last updated. |
java.lang.String |
getName()
Get the name of the repository object. |
java.lang.String |
getNotes()
Get the notes associated with the repository folder. |
java.lang.String |
getType()
Get the type of the repository object. |
void |
setName(java.lang.String name)
Set the name of the repository object. |
java.lang.String |
toString()
Return the name of the repository folder represented by this object. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public RepositoryFolderInfo(java.lang.String type, java.lang.String name, java.lang.String desc, java.lang.String notes)
type
- a String containing the type of the folder. This is the name
of the class of the repository folder. The repository class types are
mapped as class variables in
com.bea.repository.helper.Types
.name
- a String
containing the name of the folder,
which must be unique for all folders of the specified type.desc
- a String
containing an optional description of
the folder, may be null
.notes
- a String
containing optional notes about the
folder, may be null
.Method Detail |
public java.lang.String getType()
String
containing the type of the folder.public java.lang.String getName()
String
containing the name of the folder.public void setName(java.lang.String name)
name
- a String
containing the name of the folder.public java.lang.String getDescription()
String
containing the desciption of the folder,
may be null
.public java.lang.String getNotes()
String
containing notes about the folder, may be
null
.public java.sql.Timestamp getCreatedOn()
java.sql.Timestamp
of when the folder was created.public java.sql.Timestamp getLastModifiedOn()
java.sql.Timestamp
of when the folder was last
updated.public java.lang.String toString()
String
containing the name of the folder.public boolean equals(java.lang.Object obj)
obj
- the RepositoryFolderInfo object being compared to this one.true
if the objects are the same, false
if they are not.public int compareTo(java.lang.Object obj)
obj
- the RepositoryFolderInfo object that this RepositoryFolderInfo
object is compared to.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |