Package org.proforma
Class ExternalResourceType
- java.lang.Object
-
- org.proforma.ExternalResourceType
-
- All Implemented Interfaces:
ResourceCaster.ProformaTaskResource
public class ExternalResourceType extends Object implements ResourceCaster.ProformaTaskResource
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Object>
any
protected String
id
protected String
internalDescription
protected String
reference
protected String
usageByLms
protected boolean
usedByGrader
protected String
visible
-
Constructor Summary
Constructors Constructor Description ExternalResourceType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceCaster.ProformaTaskResourceref
createRefToMyself()
List<Object>
getAny()
Gets the value of the any property.String
getId()
Gets the value of the id property.String
getInternalDescription()
Gets the value of the internalDescription property.String
getReference()
Gets the value of the reference property.String
getUsageByLms()
Gets the value of the usageByLms property.String
getVisible()
Gets the value of the visible property.boolean
isUsedByGrader()
Gets the value of the usedByGrader property.void
setId(String value)
Sets the value of the id property.void
setInternalDescription(String value)
Sets the value of the internalDescription property.void
setReference(String value)
Sets the value of the reference property.void
setUsageByLms(String value)
Sets the value of the usageByLms property.void
setUsedByGrader(boolean value)
Sets the value of the usedByGrader property.void
setVisible(String value)
Sets the value of the visible property.
-
-
-
Method Detail
-
getInternalDescription
public String getInternalDescription()
Gets the value of the internalDescription property.- Returns:
- possible object is
String
-
setInternalDescription
public void setInternalDescription(String value)
Sets the value of the internalDescription property.- Parameters:
value
- allowed object isString
-
getAny
public List<Object> getAny()
Gets the value of the any property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the any property.For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
Element
-
getId
public String getId()
Gets the value of the id property.- Specified by:
getId
in interfaceResourceCaster.ProformaTaskResource
- Returns:
- possible object is
String
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getReference
public String getReference()
Gets the value of the reference property.- Returns:
- possible object is
String
-
setReference
public void setReference(String value)
Sets the value of the reference property.- Parameters:
value
- allowed object isString
-
isUsedByGrader
public boolean isUsedByGrader()
Gets the value of the usedByGrader property.
-
setUsedByGrader
public void setUsedByGrader(boolean value)
Sets the value of the usedByGrader property.
-
getVisible
public String getVisible()
Gets the value of the visible property.- Returns:
- possible object is
String
-
setVisible
public void setVisible(String value)
Sets the value of the visible property.- Parameters:
value
- allowed object isString
-
getUsageByLms
public String getUsageByLms()
Gets the value of the usageByLms property.- Returns:
- possible object is
String
-
setUsageByLms
public void setUsageByLms(String value)
Sets the value of the usageByLms property.- Parameters:
value
- allowed object isString
-
createRefToMyself
public ResourceCaster.ProformaTaskResourceref createRefToMyself()
- Specified by:
createRefToMyself
in interfaceResourceCaster.ProformaTaskResource
-
-