Class Link
java.lang.Object
com.echothree.util.server.persistence.BaseEntity
com.echothree.model.data.core.server.entity.Link
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class com.echothree.util.server.persistence.BaseEntity
_entityPermission -
Constructor Summary
ConstructorsConstructorDescriptionLink()Creates a new instance of LinkLink(LinkValue value, EntityPermission entityPermission) Creates a new instance of Link -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetLinkType(EntityPermission entityPermission) booleangetSourceEntityInstance(EntityPermission entityPermission) booleangetTargetEntityInstance(EntityPermission entityPermission) booleanbooleanbooleaninthashCode()voidremove()voidsetFromTime(Long fromTime) voidsetLinkType(LinkType entity) voidsetLinkTypePK(LinkTypePK linkTypePK) voidsetLinkValue(LinkValue value) voidvoidsetSourceEntityInstancePK(EntityInstancePK sourceEntityInstancePK) voidvoidsetTargetEntityInstancePK(EntityInstancePK targetEntityInstancePK) voidsetThruTime(Long thruTime) voidstore()toString()Methods inherited from class com.echothree.util.server.persistence.BaseEntity
checkReadWrite, getEntityPermission
-
Constructor Details
-
Link
Creates a new instance of Link- Throws:
PersistenceException
-
Link
Creates a new instance of Link
-
-
Method Details
-
getBaseFactoryInstance
- Specified by:
getBaseFactoryInstancein classBaseEntity
-
hasBeenModified
- Specified by:
hasBeenModifiedin classBaseEntity
-
hashCode
-
toString
-
equals
-
store
- Specified by:
storein classBaseEntity- Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein classBaseEntity- Throws:
PersistenceDatabaseException
-
getLinkValue
-
setLinkValue
- Throws:
PersistenceReadOnlyException
-
getPrimaryKey
- Specified by:
getPrimaryKeyin classBaseEntity
-
getLinkTypePK
-
getLinkType
-
getLinkType
-
getLinkTypeForUpdate
-
setLinkTypePK
public void setLinkTypePK(@Nonnull LinkTypePK linkTypePK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setLinkType
-
getLinkTypePKHasBeenModified
-
getSourceEntityInstancePK
-
getSourceEntityInstance
-
getSourceEntityInstance
-
getSourceEntityInstanceForUpdate
-
setSourceEntityInstancePK
public void setSourceEntityInstancePK(@Nonnull EntityInstancePK sourceEntityInstancePK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setSourceEntityInstance
-
getSourceEntityInstancePKHasBeenModified
-
getTargetEntityInstancePK
-
getTargetEntityInstance
-
getTargetEntityInstance
-
getTargetEntityInstanceForUpdate
-
setTargetEntityInstancePK
public void setTargetEntityInstancePK(@Nonnull EntityInstancePK targetEntityInstancePK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setTargetEntityInstance
-
getTargetEntityInstancePKHasBeenModified
-
getFromTime
-
setFromTime
public void setFromTime(@Nonnull Long fromTime) throws PersistenceNotNullException, PersistenceReadOnlyException -
getFromTimeHasBeenModified
-
getThruTime
-
setThruTime
public void setThruTime(@Nonnull Long thruTime) throws PersistenceNotNullException, PersistenceReadOnlyException -
getThruTimeHasBeenModified
-