Class InsertEntry
- java.lang.Object
-
- com.sun.identity.liberty.ws.disco.InsertEntry
-
public class InsertEntry extends Object
The classInsertEntryrepresents a Insert Entry for Discovery Modify request.The following schema fragment specifies the expected content within the
InsertEntryobject.<xs:element name="InsertEntry" type="InsertEntryType"> <complexType name="InsertEntryType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:liberty:disco:2003-08}ResourceOffering"/> <any/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description InsertEntry(ResourceOffering resourceOffering, List any)Constructor.InsertEntry(Element elem)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListgetAny()Gets the value of the Any property.ResourceOfferinggetResourceOffering()Gets the resource offering to be inserted.voidsetAny(List any)Sets the value of the Any property.voidsetResourceOffering(ResourceOffering value)Sets the resource offering to be inserted.StringtoString()Gets string format.
-
-
-
Constructor Detail
-
InsertEntry
public InsertEntry(ResourceOffering resourceOffering, List any)
Constructor.- Parameters:
resourceOffering- discovery Resource offering to be inserted.any- List of Directive object, this is to allow the requester to include directives about the resource offering being inserted.
-
InsertEntry
public InsertEntry(Element elem) throws DiscoveryException
Constructor.- Parameters:
elem-InsertEntryDOM element- Throws:
DiscoveryException- if error occurs
-
-
Method Detail
-
getResourceOffering
public ResourceOffering getResourceOffering()
Gets the resource offering to be inserted.- Returns:
- the resource offering to be inserted.
- See Also:
setResourceOffering(ResourceOffering)
-
setResourceOffering
public void setResourceOffering(ResourceOffering value)
Sets the resource offering to be inserted.- Parameters:
value- the resource offering to be inserted.- See Also:
getResourceOffering()
-
getAny
public List getAny()
Gets the value of the Any property.- Returns:
- List of
com.sun.identity.liberty.ws.disco.Directiveobjects. - See Also:
setAny(List)
-
setAny
public void setAny(List any)
Sets the value of the Any property.- Parameters:
any- List ofcom.sun.identity.liberty.ws.disco.Directiveobjects.- See Also:
getAny()
-
-