Class Project
- java.lang.Object
-
- org.gcube.application.geoportal.common.model.document.Project
-
public class Project extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDstatic StringIDENTIFICATION_REFERENCESstatic StringINFOstatic StringLIFECYCLE_INFORMATIONstatic StringLOCKstatic StringPROFILE_IDstatic StringPROFILE_VERSIONstatic StringRELATIONSHIPSstatic StringTHE_DOCUMENTstatic StringVERSION
-
Constructor Summary
Constructors Constructor Description Project()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectaddRelation(Relationship rel)List<IdentificationReference>getIdentificationReferenceByType(String type)List<Relationship>getRelationshipsByName(String relation)booleanisEquivalent(Object o)Similar to equals but without checking following fields lock
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
-
INFO
public static final String INFO
- See Also:
- Constant Field Values
-
PROFILE_ID
public static final String PROFILE_ID
- See Also:
- Constant Field Values
-
PROFILE_VERSION
public static final String PROFILE_VERSION
- See Also:
- Constant Field Values
-
LIFECYCLE_INFORMATION
public static final String LIFECYCLE_INFORMATION
- See Also:
- Constant Field Values
-
RELATIONSHIPS
public static final String RELATIONSHIPS
- See Also:
- Constant Field Values
-
IDENTIFICATION_REFERENCES
public static final String IDENTIFICATION_REFERENCES
- See Also:
- Constant Field Values
-
THE_DOCUMENT
public static final String THE_DOCUMENT
- See Also:
- Constant Field Values
-
LOCK
public static final String LOCK
- See Also:
- Constant Field Values
-
-
Method Detail
-
isEquivalent
public boolean isEquivalent(Object o)
Similar to equals but without checking following fields lock- Parameters:
o-- Returns:
-
getIdentificationReferenceByType
public List<IdentificationReference> getIdentificationReferenceByType(String type)
-
getRelationshipsByName
public List<Relationship> getRelationshipsByName(String relation)
-
addRelation
public Project addRelation(Relationship rel)
-
-