net.ezcontent.impl.eos
Class DocumentReference

java.lang.Object
  extended bynet.ezcontent.impl.eos.base.BaseDocumentReference
      extended bynet.ezcontent.impl.eos.DocumentReference
All Implemented Interfaces:
Reference, Serializable

public class DocumentReference
extends BaseDocumentReference
implements Reference

This is the object class that relates to the DocRef table. Any customizations belong here. Implementa Reference

See Also:
Reference, Serialized Form

Field Summary
 
Fields inherited from class net.ezcontent.impl.eos.base.BaseDocumentReference
 
Constructor Summary
DocumentReference()
           
DocumentReference(int refID)
          Constructor for primary key
DocumentReference(int refID, String name, String destClass, int destID)
          Constructor for required fields
 
Method Summary
 Record getDestination()
           
 Document getOwner()
           
 boolean ownsDestination()
           
 void setDestination(Record rec)
          El objeto al cual apunta la referencia.
 void setOwner(Document doc)
          El objeto duenio de la referencia.
 
Methods inherited from class net.ezcontent.impl.eos.base.BaseDocumentReference
equals, getDestClass, getDestID, getName, getOwningDocument, getRefID, hashCode, isOwnsDestination, setDestClass, setDestID, setName, setOwningDocument, setOwnsDestination, setRefID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.ezcontent.document.Reference
getName, setName, setOwnsDestination
 

Constructor Detail

DocumentReference

public DocumentReference()

DocumentReference

public DocumentReference(int refID)
Constructor for primary key


DocumentReference

public DocumentReference(int refID,
                         String name,
                         String destClass,
                         int destID)
Constructor for required fields

Method Detail

ownsDestination

public boolean ownsDestination()
Specified by:
ownsDestination in interface Reference

setDestination

public void setDestination(Record rec)
Description copied from interface: Reference
El objeto al cual apunta la referencia.

Specified by:
setDestination in interface Reference

getDestination

public Record getDestination()
Specified by:
getDestination in interface Reference

setOwner

public void setOwner(Document doc)
Description copied from interface: Reference
El objeto duenio de la referencia.

Specified by:
setOwner in interface Reference

getOwner

public Document getOwner()
Specified by:
getOwner in interface Reference