Package com.collibra.dgc.core.api.model
Interface Resource
-
- All Superinterfaces:
Entity
,Serializable
- All Known Subinterfaces:
Address
,ArticulationRule
,Asset
,AssetType
,Assignment
,Attachment
,Attribute
,AttributeType
,BooleanAttribute
,BooleanAttributeType
,Comment
,Community
,ComplexRelation
,ComplexRelationAttributeType
,ComplexRelationLeg
,ComplexRelationLegType
,ComplexRelationType
,DataQualityMetric
,DataQualityRule
,DateAttribute
,DateAttributeType
,Domain
,DomainType
,Email
,InstantMessagingAccount
,Job
,Mapping
,MultiValueListAttribute
,MultiValueListAttributeType
,NamedDescribedResource
,NamedResource
,NumericAttribute
,NumericAttributeType
,Organization
,PhoneNumber
,Rating
,Relation
,RelationTrace
,RelationType
,Responsibility
,Role
,Scope
,ScriptAttribute
,ScriptAttributeType
,SingleValueListAttribute
,SingleValueListAttributeType
,Status
,StringAttribute
,StringAttributeType
,Tag
,User
,UserGroup
,ValidationResult
,ViewPermission
,Website
,WorkflowDefinition
,WorkflowInstance
,WorkflowTask
public interface Resource extends Entity
Represents a generic resource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UUID
getCreatedBy()
Returns the id of the user that created this resource.Long
getCreatedOn()
Returns the timestamp (in UTC time standard) of the creation of this resource.UUID
getLastModifiedBy()
Returns the id of the user who modified this resource the last time.Long
getLastModifiedOn()
Returns timestamp (in UTC time standard) of the last modification of this resource.ResourceType
getResourceType()
Returns the type of this resource.boolean
isSystem()
Returns whether this is a system resource or not.
-
-
-
Method Detail
-
getResourceType
ResourceType getResourceType()
Returns the type of this resource.- Returns:
- the type of this resource
-
isSystem
boolean isSystem()
Returns whether this is a system resource or not.- Returns:
- true if this resource is a system resource,
false
otherwise
-
getCreatedBy
UUID getCreatedBy()
Returns the id of the user that created this resource.- Returns:
- the id of the user that created this resource
-
getLastModifiedBy
UUID getLastModifiedBy()
Returns the id of the user who modified this resource the last time.- Returns:
- the id of the user who modified this resource the last time
-
getCreatedOn
Long getCreatedOn()
Returns the timestamp (in UTC time standard) of the creation of this resource.- Returns:
- the timestamp (in UTC time standard) of the creation of this resource
-
getLastModifiedOn
Long getLastModifiedOn()
Returns timestamp (in UTC time standard) of the last modification of this resource.- Returns:
- the timestamp (in UTC time standard) of the last modification of this resource
-
-