com.stratelia.webactiv.util.publication.model
Class Alias

java.lang.Object
  extended by com.stratelia.webactiv.util.WAPrimaryKey
      extended by com.stratelia.webactiv.util.node.model.NodePK
          extended by com.stratelia.webactiv.util.publication.model.Alias
All Implemented Interfaces:
Serializable, Cloneable

public class Alias
extends NodePK

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.stratelia.webactiv.util.node.model.NodePK
BIN_NODE_ID, nodeDetail, ROOT_NODE_ID, UNCLASSED_NODE_ID, UNDEFINED_NODE_ID
 
Fields inherited from class com.stratelia.webactiv.util.WAPrimaryKey
componentName, id, space
 
Constructor Summary
Alias(String nodeId, String instanceId)
           
 
Method Summary
 boolean equals(Object other)
          Check if an another object is equal to this object
 Date getDate()
           
 int getPubOrder()
          Return the value of the pubOrder property.
 String getUserId()
           
 String getUserName()
           
 int hashCode()
          Returns a hash code for the key
 void setDate(Date date)
           
 void setPubOrder(int pubOrder)
          Set the value of the pubOrder property.
 void setUserId(String userId)
           
 void setUserName(String userName)
           
 
Methods inherited from class com.stratelia.webactiv.util.node.model.NodePK
getRootTableName, getTableName, isRoot, isTrash, isUnclassed, isUndefined
 
Methods inherited from class com.stratelia.webactiv.util.WAPrimaryKey
clone, getComponentName, getId, getInstanceId, getSpace, getSpaceId, getTableName, setComponentName, setId, setSpace, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Alias

public Alias(String nodeId,
             String instanceId)
Method Detail

getUserId

public String getUserId()

setUserId

public void setUserId(String userId)

getDate

public Date getDate()

setDate

public void setDate(Date date)

getPubOrder

public int getPubOrder()
Return the value of the pubOrder property.

Returns:
the value of pubOrder.

setPubOrder

public void setPubOrder(int pubOrder)
Set the value of the pubOrder property.

Parameters:
pubOrder - the new value of pubOrder.

getUserName

public String getUserName()

setUserName

public void setUserName(String userName)

equals

public boolean equals(Object other)
Description copied from class: NodePK
Check if an another object is equal to this object

Overrides:
equals in class NodePK
Parameters:
other - the object to compare to this NodePK
Returns:
true if other is equals to this object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Description copied from class: NodePK
Returns a hash code for the key

Overrides:
hashCode in class NodePK
Returns:
A hash code for this object
See Also:
Object.hashCode()


Copyright © 2016 Silverpeas. All Rights Reserved.