|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.information.RepositoryGroup
public class RepositoryGroup
Repository group.
Constructor Summary | |
---|---|
RepositoryGroup()
Default constructor. |
|
RepositoryGroup(java.lang.String name)
Constructor with name. |
|
RepositoryGroup(java.lang.String name,
java.util.List group)
Create a new group with the name a List of repository names. |
|
RepositoryGroup(java.lang.String name,
java.lang.String description)
Constructor with name. |
|
RepositoryGroup(java.lang.String uid,
java.lang.String name,
java.lang.String description,
java.util.List group)
Create a new group with the name a List of repository names. |
Method Summary | |
---|---|
void |
addRepository(java.lang.String name)
Add a repository definition name to the list for this group. |
java.lang.Object |
clone()
Clones this RepositoryGroup. |
RepositoryGroup |
copyTo(java.lang.String name)
Make a writable copy of this group with a new name. |
boolean |
equals(java.lang.Object o)
Determines if the object is equal to this repository group. |
java.lang.String |
getDescription()
Get the description for this group. |
java.util.List |
getGroupNames()
Get a copy of the list of repository definition names for this group. |
java.lang.String |
getLocalizedResourceType()
Gets a localized value describing the resource's type. |
java.lang.String |
getLocalizedResourceTypeAndValue()
Gets a localized value describing the resource's type and value. |
java.lang.String |
getName()
Get the name of this group. |
java.lang.String |
getResourceID()
Gets the unique ID. |
java.lang.String |
getResourceType()
Gets a value describing the resource's type. |
int |
getResourceTypeCode()
Gets the code describing the resource's type. |
java.lang.String |
getResourceValue()
Gets the value used to identify the service configuration resource. |
int |
hashCode()
Gets the hash code. |
boolean |
isRequired()
Determines if this resource is required by the service's configuration. |
void |
removeRepository(java.lang.String name)
Remove a repository definition name from this group. |
void |
setDescription(java.lang.String description)
Set the description for this group. |
void |
setName(java.lang.String name)
Set the name of this group. |
void |
setProtected()
Set this group to be protected. |
java.lang.String |
toString()
Gets a string representing this repository group composed of its name and description. |
Constructor Detail |
---|
public RepositoryGroup()
public RepositoryGroup(java.lang.String name)
name
- The name of the new group.public RepositoryGroup(java.lang.String name, java.lang.String description)
name
- The name of the new group.description
- A string describing this group's use.public RepositoryGroup(java.lang.String name, java.util.List group)
name
- The group name.group
- A List of repository names as Strings.public RepositoryGroup(java.lang.String uid, java.lang.String name, java.lang.String description, java.util.List group)
uid
- Unique identifier.name
- The group's name.description
- A string describing this group's use.group
- A List of String
repository names or null
.Method Detail |
---|
public void setDescription(java.lang.String description)
description
- A string describing this group's use.public java.lang.String getDescription()
public java.lang.String getResourceID()
getResourceID
in interface ConsumedResourceInterface
public java.lang.String getResourceValue()
ConsumedResourceInterface
getResourceValue
in interface ConsumedResourceInterface
public java.lang.String getLocalizedResourceType()
ConsumedResourceInterface
getLocalizedResourceType
in interface ConsumedResourceInterface
public java.lang.String getLocalizedResourceTypeAndValue()
ConsumedResourceInterface
getLocalizedResourceTypeAndValue
in interface ConsumedResourceInterface
public java.lang.String getResourceType()
ConsumedResourceInterface
getResourceType
in interface ConsumedResourceInterface
public int getResourceTypeCode()
ConsumedResourceInterface
getResourceTypeCode
in interface ConsumedResourceInterface
public boolean isRequired()
ConsumedResourceInterface
isRequired
in interface ConsumedResourceInterface
true
if this resource is required by the service's
configuration.public void addRepository(java.lang.String name)
name
- The repository definition name to add to this group.
java.lang.IllegalStateException
- if this group has been set to protected.public void removeRepository(java.lang.String name)
name
- the repository definition name to remove from this group.
java.lang.IllegalStateException
- if this group has been set to protected.public java.util.List getGroupNames()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The new name of this group.
java.lang.IllegalStateException
- if this group has been set to protected.public void setProtected()
public RepositoryGroup copyTo(java.lang.String name)
name
- The name of the new group.
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface ConsumedResourceInterface
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
true
if the object is equal or
false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |