com.pmease.quickbuild.model
Class AbstractEntity

java.lang.Object
  extended by com.pmease.quickbuild.model.AbstractEntity
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Alarm, Alert, Audit, Authorization, Build, BuildDependence, BuildOption, CloudProfile, Configuration, Dashboard, Group, GroupShare, Id, MeasurementData1D, MeasurementData1H, MeasurementData6H, MeasurementDataR00, MeasurementDataR01, MeasurementDataR02, MeasurementDataR03, MeasurementDataR04, Membership, PluginConfig, PromoteOption, Resource, Setting, Subscription, Token, TriggerDependence, User, UserShare

@MappedSuperclass
public abstract class AbstractEntity
extends java.lang.Object
implements java.io.Serializable

The abstract entity class

See Also:
Serialized Form

Constructor Summary
AbstractEntity()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.Long getId()
          Get entity identifier.
 int hashCode()
           
 boolean isNew()
          Whether or not this entity is a newly created one (has not been persisted yet).
 void setId(java.lang.Long id)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEntity

public AbstractEntity()
Method Detail

getId

public java.lang.Long getId()
Get entity identifier.


setId

public void setId(java.lang.Long id)

isNew

public boolean isNew()
Whether or not this entity is a newly created one (has not been persisted yet).


equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

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


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.