|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.resource.repository.RepositoryResource
public abstract class RepositoryResource
Abstract parent class for resources in the repository.
Field Summary | |
---|---|
protected List<Attribute> |
attributes
|
protected String |
identifier
|
protected Date |
lastModifiedDate
|
protected String |
objectType
|
protected String |
path
|
Constructor Summary | |
---|---|
RepositoryResource(String path,
Date lastModified,
List<Attribute> attributes)
Deprecated. |
|
RepositoryResource(String identifier,
String objectType,
String path,
Date lastModified,
List<Attribute> attributes)
It is not intended or recommended that the consumer of the api construct these objects. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Attribute |
getAttribute(String name)
|
List<Attribute> |
getAttributes()
|
String |
getIdentifier()
Get the identifier of this object. |
Date |
getLastModifiedDate()
|
String |
getObjectType()
Get the object type of this item. |
String |
getPath()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String path
protected String identifier
protected String objectType
protected Date lastModifiedDate
protected List<Attribute> attributes
Constructor Detail |
---|
@Deprecated public RepositoryResource(String path, Date lastModified, List<Attribute> attributes)
path
- Path of the resource in the repositorylastModified
- The date the resource was last modifiedattributes
- Attributes defined on the resource.public RepositoryResource(String identifier, String objectType, String path, Date lastModified, List<Attribute> attributes)
identifier
- identifier of the repository resourceobjectType
- object type of the repository resourcepath
- Path of the resource in the repositorylastModified
- The date the resource was last modifiedattributes
- Attributes defined on the resource.Method Detail |
---|
public String getPath()
public Date getLastModifiedDate()
public String getIdentifier()
Identifiable
getIdentifier
in interface Identifiable
public String getObjectType()
Identifiable
getObjectType
in interface Identifiable
public List<Attribute> getAttributes()
public Attribute getAttribute(String name)
name
- of the attribute being requested
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |