com.unboundid.scim.data
Class Meta

java.lang.Object
  extended by com.unboundid.scim.data.Meta

public class Meta
extends Object

A complex type containing metadata about the resource.


Field Summary
static AttributeValueResolver<Meta> META_RESOLVER
          The AttributeValueResolver that resolves SCIM attribute values to/from Meta instances.
 
Constructor Summary
Meta(Date created, Date lastModified, URI location, String version)
          Create an instance of the SCIM meta attribute.
 
Method Summary
 boolean equals(Object o)
          
 Date getCreated()
          Retrieves the time the Resource was added to the Service Provider.
 Date getLastModified()
          Retrieves the most recent time the details of a Resource were updated at the Service Provider.
 URI getLocation()
          Retrieves the URI of the Resource.
 String getVersion()
          Retrieves the version of the Resource.
 int hashCode()
          
 void setCreated(Date created)
          Sets the time the Resource was added to the Service Provider.
 void setLastModified(Date lastModified)
          Sets the most recent time the details of a Resource were updated at the Service Provider.
 void setLocation(URI location)
          Sets the URI of the Resource.
 void setVersion(String version)
          Sets the version of the Resource being returned.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

META_RESOLVER

public static final AttributeValueResolver<Meta> META_RESOLVER
The AttributeValueResolver that resolves SCIM attribute values to/from Meta instances.

Constructor Detail

Meta

public Meta(Date created,
            Date lastModified,
            URI location,
            String version)
Create an instance of the SCIM meta attribute.

Parameters:
created - The time the Resource was added to the Service Provider.
lastModified - The most recent time the details of a Resource were updated at the Service Provider.
location - The URI of the Resource.
version - The version of the Resource.
Method Detail

getCreated

public Date getCreated()
Retrieves the time the Resource was added to the Service Provider.

Returns:
The time the Resource was added to the Service Provider.

setCreated

public void setCreated(Date created)
Sets the time the Resource was added to the Service Provider.

Parameters:
created - The time the Resource was added to the Service Provider.

getLastModified

public Date getLastModified()
Retrieves the most recent time the details of a Resource were updated at the Service Provider.

Returns:
The most recent time the details of a Resource were updated at the Service Provider.

setLastModified

public void setLastModified(Date lastModified)
Sets the most recent time the details of a Resource were updated at the Service Provider.

Parameters:
lastModified - The most recent time the details of a Resource were updated at the Service Provider.

getLocation

public URI getLocation()
Retrieves the URI of the Resource.

Returns:
The URI of the Resource.

setLocation

public void setLocation(URI location)
Sets the URI of the Resource.

Parameters:
location - The URI of the Resource.

getVersion

public String getVersion()
Retrieves the version of the Resource.

Returns:
The version of the Resource.

setVersion

public void setVersion(String version)
Sets the version of the Resource being returned.

Parameters:
version - The version of the Resource being returned.

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2011-2012 UnboundID. All Rights Reserved.