Concept
public class Concept extends LocalizedDescription implements IConcept
Constructor and Description |
---|
Concept()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addDocumentType(IDocumentType type)
Deprecated.
Adds a valid document type for the concept.
|
void |
addRol(org.sistema.jcs.agenda.Rol rol)
Deprecated.
|
boolean |
equals(java.lang.Object object)
Deprecated.
|
java.util.Collection<IDocumentType> |
getDocumentTypes()
Deprecated.
|
java.lang.Integer |
getId()
Deprecated.
|
byte |
getProductRequired()
Deprecated.
Determines if the concept requires a product.
|
int |
hashCode()
Deprecated.
|
boolean |
isDocumentTypeValid(java.lang.Integer typeId)
Deprecated.
|
boolean |
isRolValid(org.sistema.jcs.agenda.Rol rol)
Deprecated.
|
void |
removeDocumentType()
Deprecated.
|
void |
removeRol()
Deprecated.
|
void |
setDocumentTypes(java.util.Collection<IDocumentType> types)
Deprecated.
Sets the allowed document types for the concept.
|
void |
setId(java.lang.Integer id)
Deprecated.
Sets the unique identifier of the concept.
|
void |
setProductRequired(byte productRequired)
Deprecated.
Sets the product required flag.
|
void |
setRols(java.lang.String rols)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
getDescription, getDescription, getDescriptions, setDescriptions
addAttribute, addAttribute, getAttribute, getAttributeMaximumLength, getAttributeMinimumLength, getAttributeValue, getField, getFieldFlagValue, getFieldNames, getFields, getFieldsUnsavedElements, getFieldValue, getPrimaryKey, getValue, hasUnsavedElements, isAttributeEditable, isAttributeRequired, isAttributeVisible, isAttributeVisible, isDeletable, isDeleted, isEditable, isFieldModified, isFieldState, isModified, isModifiedBase, isNew, setAttributeValue, setDeletable, setDeleted, setFieldFlag, setFieldState, setFieldValue, setNew
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDescription, getDescription, getDescriptions, setDescriptions
public void addDocumentType(IDocumentType type)
IConcept
addDocumentType
in interface IConcept
public void addRol(org.sistema.jcs.agenda.Rol rol)
public boolean equals(java.lang.Object object)
equals
in class org.sistema.persist.Persistent
public java.util.Collection<IDocumentType> getDocumentTypes()
getDocumentTypes
in interface IConcept
public java.lang.Integer getId()
getId
in interface IConcept
getId
in interface org.sistema.persist.IPersistent
getId
in class LocalizedDescription
public byte getProductRequired()
IConcept
getProductRequired
in interface IConcept
public int hashCode()
hashCode
in class java.lang.Object
public boolean isDocumentTypeValid(java.lang.Integer typeId)
isDocumentTypeValid
in interface IConcept
public boolean isRolValid(org.sistema.jcs.agenda.Rol rol)
public void removeDocumentType()
public void removeRol()
public void setDocumentTypes(java.util.Collection<IDocumentType> types)
IConcept
setDocumentTypes
in interface IConcept
public void setId(java.lang.Integer id)
IConcept
public void setProductRequired(byte productRequired)
IConcept
setProductRequired
in interface IConcept
productRequired
- 0: no product is involved in the concept.
1: a product is required for the concept.
2: a product is optional for the concept.public void setRols(java.lang.String rols)
public java.lang.String toString()
toString
in class java.lang.Object