it.sistematica.isharedoc.model.security
Class Keyring

java.lang.Object
  extended by it.sistematica.isharedoc.model.security.Keyring
All Implemented Interfaces:
it.neverworks.application.model.CreationAuditable, it.neverworks.application.model.ModificationAuditable, java.io.Serializable

public class Keyring
extends java.lang.Object
implements java.io.Serializable, it.neverworks.application.model.ModificationAuditable

See Also:
Serialized Form

Nested Class Summary
static class Keyring.KeyringType
           
 
Field Summary
protected  java.util.Date created
           
protected  it.neverworks.security.User createdBy
           
protected  java.lang.String description
           
protected  java.lang.Long id
           
protected  java.util.Date modified
           
protected  it.neverworks.security.User modifiedBy
           
protected  java.lang.String name
           
protected  IsharedocProfile profile
           
protected  Keyring.KeyringType type
           
 
Constructor Summary
Keyring()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 byte[] getBytes()
           
 java.util.Date getCreated()
           
 it.neverworks.security.User getCreatedBy()
           
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 java.util.Date getModified()
           
 it.neverworks.security.User getModifiedBy()
           
 java.lang.String getName()
           
 IsharedocProfile getProfile()
           
 java.io.InputStream getStream()
           
 Keyring.KeyringType getType()
           
 int hashCode()
           
 void setBytes(byte[] bytes)
           
 void setCreated(java.util.Date created)
           
 void setCreatedBy(it.neverworks.security.User createdBy)
           
 void setDescription(java.lang.String description)
           
 void setId(java.lang.Long id)
           
 void setModified(java.util.Date modified)
           
 void setModifiedBy(it.neverworks.security.User modifiedBy)
           
 void setName(java.lang.String name)
           
 void setProfile(IsharedocProfile profile)
           
 void setStream(java.io.InputStream stream)
           
 void setType(Keyring.KeyringType type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected java.lang.Long id

created

protected java.util.Date created

createdBy

protected it.neverworks.security.User createdBy

modified

protected java.util.Date modified

modifiedBy

protected it.neverworks.security.User modifiedBy

profile

protected IsharedocProfile profile

type

protected Keyring.KeyringType type

name

protected java.lang.String name

description

protected java.lang.String description
Constructor Detail

Keyring

public Keyring()
Method Detail

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)

getCreated

public java.util.Date getCreated()
Specified by:
getCreated in interface it.neverworks.application.model.CreationAuditable

setCreated

public void setCreated(java.util.Date created)
Specified by:
setCreated in interface it.neverworks.application.model.CreationAuditable

getCreatedBy

public it.neverworks.security.User getCreatedBy()
Specified by:
getCreatedBy in interface it.neverworks.application.model.CreationAuditable

setCreatedBy

public void setCreatedBy(it.neverworks.security.User createdBy)
Specified by:
setCreatedBy in interface it.neverworks.application.model.CreationAuditable

getModified

public java.util.Date getModified()
Specified by:
getModified in interface it.neverworks.application.model.ModificationAuditable

setModified

public void setModified(java.util.Date modified)
Specified by:
setModified in interface it.neverworks.application.model.ModificationAuditable

getModifiedBy

public it.neverworks.security.User getModifiedBy()
Specified by:
getModifiedBy in interface it.neverworks.application.model.ModificationAuditable

setModifiedBy

public void setModifiedBy(it.neverworks.security.User modifiedBy)
Specified by:
setModifiedBy in interface it.neverworks.application.model.ModificationAuditable

getProfile

public IsharedocProfile getProfile()

setProfile

public void setProfile(IsharedocProfile profile)

getType

public Keyring.KeyringType getType()

setType

public void setType(Keyring.KeyringType type)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getStream

public java.io.InputStream getStream()

setStream

public void setStream(java.io.InputStream stream)

getBytes

public byte[] getBytes()

setBytes

public void setBytes(byte[] bytes)

equals

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

hashCode

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object