com.zipxap.vfs.dataobjects
Class AEntry

java.lang.Object
  extended by com.zipxap.vfs.dataobjects.AEntry
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
Entry

public abstract class AEntry
extends java.lang.Object
implements java.lang.Cloneable

DO NOT place custom code here!! Custom code placed here will be overwritten/deleted by the generator. If this file gets manually deleted, it will be regenerated.

Copyright 2009 ZipXap Technology, LLC. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA or visit http://www.gnu.org/licenses/lgpl.html.


Constructor Summary
AEntry()
           
AEntry(java.lang.String uniqueId, java.lang.String parentId, EntryType type, java.lang.String name, java.lang.String ownerId, long created, java.lang.String createdId, long lastModified, java.lang.String lastModifiedId)
           
 
Method Summary
 java.lang.Object clone()
          Clone this AEntry.
 boolean equals(java.lang.Object o)
          Determine if two DataObjects are equal.
 boolean equals(java.lang.Object o, boolean rightTrimStrings)
          Determine if two DataObjects are equal.
 boolean equals(java.lang.Object o, boolean rightTrimStrings, java.io.PrintStream out)
          Determine if two DataObjects are equal.
 long getCreated()
          Retrieve the a entry's created.
 java.lang.String getCreatedId()
          Retrieve the a entry's created id.
 long getLastModified()
          Retrieve the a entry's last modified.
 java.lang.String getLastModifiedId()
          Retrieve the a entry's last modified id.
 java.lang.String getName()
          Retrieve the a entry's name.
 java.lang.String getOwnerId()
          Retrieve the a entry's owner id.
 java.lang.String getParentId()
          Retrieve the a entry's parent id.
 EntryType getType()
          Retrieve the a entry's type.
 java.lang.String getUniqueId()
          Retrieve the a entry's unique id.
 int hashCode()
           
 void setCreated(long created)
          Set the a entry's created.
 void setCreatedId(java.lang.String createdId)
          Set the a entry's created id.
 void setLastModified(long lastModified)
          Set the a entry's last modified.
 void setLastModifiedId(java.lang.String lastModifiedId)
          Set the a entry's last modified id.
 void setName(java.lang.String name)
          Set the a entry's name.
 void setOwnerId(java.lang.String ownerId)
          Set the a entry's owner id.
 void setParentId(java.lang.String parentId)
          Set the a entry's parent id.
 void setType(EntryType type)
          Set the a entry's type.
 void setUniqueId(java.lang.String uniqueId)
          Set the a entry's unique id.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AEntry

public AEntry()

AEntry

public AEntry(java.lang.String uniqueId,
              java.lang.String parentId,
              EntryType type,
              java.lang.String name,
              java.lang.String ownerId,
              long created,
              java.lang.String createdId,
              long lastModified,
              java.lang.String lastModifiedId)
Method Detail

getUniqueId

public java.lang.String getUniqueId()
Retrieve the a entry's unique id.

Returns:
The a entry's unique id. This method will NEVER return null.

setUniqueId

public void setUniqueId(java.lang.String uniqueId)
Set the a entry's unique id.

Parameters:
uniqueId - The value to assign to the a entry's unique id.

getParentId

public java.lang.String getParentId()
Retrieve the a entry's parent id.

Returns:
The a entry's parent id.

setParentId

public void setParentId(java.lang.String parentId)
Set the a entry's parent id.

Parameters:
parentId - The value to assign to the a entry's parent id.

getType

public EntryType getType()
Retrieve the a entry's type.

Returns:
The a entry's type. This method will NEVER return null.

setType

public void setType(EntryType type)
Set the a entry's type.

Parameters:
type - The value to assign to the a entry's type.

getName

public java.lang.String getName()
Retrieve the a entry's name.

Returns:
The a entry's name. This method will NEVER return null.

setName

public void setName(java.lang.String name)
Set the a entry's name.

Parameters:
name - The value to assign to the a entry's name.

getOwnerId

public java.lang.String getOwnerId()
Retrieve the a entry's owner id.

Returns:
The a entry's owner id. This method will NEVER return null.

setOwnerId

public void setOwnerId(java.lang.String ownerId)
Set the a entry's owner id.

Parameters:
ownerId - The value to assign to the a entry's owner id.

getCreated

public long getCreated()
Retrieve the a entry's created.

Returns:
The a entry's created. This method will NEVER return null.

setCreated

public void setCreated(long created)
Set the a entry's created.

Parameters:
created - The value to assign to the a entry's created.

getCreatedId

public java.lang.String getCreatedId()
Retrieve the a entry's created id.

Returns:
The a entry's created id. This method will NEVER return null.

setCreatedId

public void setCreatedId(java.lang.String createdId)
Set the a entry's created id.

Parameters:
createdId - The value to assign to the a entry's created id.

getLastModified

public long getLastModified()
Retrieve the a entry's last modified.

Returns:
The a entry's last modified. This method will NEVER return null.

setLastModified

public void setLastModified(long lastModified)
Set the a entry's last modified.

Parameters:
lastModified - The value to assign to the a entry's last modified.

getLastModifiedId

public java.lang.String getLastModifiedId()
Retrieve the a entry's last modified id.

Returns:
The a entry's last modified id. This method will NEVER return null.

setLastModifiedId

public void setLastModifiedId(java.lang.String lastModifiedId)
Set the a entry's last modified id.

Parameters:
lastModifiedId - The value to assign to the a entry's last modified id.

equals

public boolean equals(java.lang.Object o)
Determine if two DataObjects are equal.

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to compare to this object.
Returns:
true if all properties are equal.

equals

public boolean equals(java.lang.Object o,
                      boolean rightTrimStrings)
Determine if two DataObjects are equal.

Parameters:
o - The object to compare to this object.
Returns:
true if all properties are equal.

equals

public boolean equals(java.lang.Object o,
                      boolean rightTrimStrings,
                      java.io.PrintStream out)
Determine if two DataObjects are equal.

Parameters:
o - The object to compare to this object.
out - A PrintWriter to write out verbose comparison results to (typically for debugging), else null to not output verbose information.
Returns:
true if all properties are equal.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
a string representation of this object.

clone

public java.lang.Object clone()
Clone this AEntry.

Overrides:
clone in class java.lang.Object
Returns:
A clone of this AEntry.