Class Resource
- java.lang.Object
-
- com.ellucian.ethos.integration.client.messages.Resource
-
public class Resource extends Object
A Resource object that is associated with a change-notification.- Since:
- 0.0.1
-
-
Constructor Summary
Constructors Constructor Description Resource()
Creates an instance of a Resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDomain()
Gets the domain to which the resource belongs.String
getId()
Gets the ID of the resourceString
getName()
Gets the name of the resource.String
getVersion()
Gets the version of the resource.void
setVersion(String version)
Sets the version, used to replace the version if needed, as done in the EthosChangeNotificationService.
-
-
-
Method Detail
-
getId
public String getId()
Gets the ID of the resource- Returns:
- the resource ID
-
getName
public String getName()
Gets the name of the resource.- Returns:
- the resource name
-
getVersion
public String getVersion()
Gets the version of the resource.- Returns:
- the resource version
-
setVersion
public void setVersion(String version)
Sets the version, used to replace the version if needed, as done in the EthosChangeNotificationService.- Parameters:
version
- The version of the resource to replace the current version with.
-
getDomain
public String getDomain()
Gets the domain to which the resource belongs.- Returns:
- the domain of the resource
-
-