moos.ssds.model
Interface IResource
- All Superinterfaces:
- IDescription, java.io.Serializable, ValueObject
- All Known Implementing Classes:
- Resource
- public interface IResource
- extends java.io.Serializable, IDescription, ValueObject
- Author:
- kgomes
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
UNDEFINED
public static final java.lang.String UNDEFINED
- See Also:
- Constant Field Values
DOCUMENT_CALIBRATION_FILE
public static final java.lang.String DOCUMENT_CALIBRATION_FILE
- See Also:
- Constant Field Values
DOCUMENT_SSDS_XML_METADATA
public static final java.lang.String DOCUMENT_SSDS_XML_METADATA
- See Also:
- Constant Field Values
DOCUMENT_DOCUMENTATION
public static final java.lang.String DOCUMENT_DOCUMENTATION
- See Also:
- Constant Field Values
SOFTWARE_SOURCE_CODE
public static final java.lang.String SOFTWARE_SOURCE_CODE
- See Also:
- Constant Field Values
SOFTWARE_EXECUTABLE
public static final java.lang.String SOFTWARE_EXECUTABLE
- See Also:
- Constant Field Values
SOFTWARE_SCRIPT
public static final java.lang.String SOFTWARE_SCRIPT
- See Also:
- Constant Field Values
getResourceOwner
public ResourceOwner getResourceOwner()
- Returns:
- The Owner of this resource. An owner can be a
DataContainer,
a Producer or a Device
setResourceOwner
public void setResourceOwner(ResourceOwner owner)
- Parameters:
owner - The owner of this device. The owner can be a DataContainer,
a Producer or a Device
getUrl
public java.net.URL getUrl()
- Returns:
- The URL specifying the location of the resource
setUrl
public void setUrl(java.net.URL url)
- Parameters:
url - The URL specifying the location of this resource
setUrl
public void setUrl(java.lang.String url)
getDateRange
public IDateRange getDateRange()
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface IDescription
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription in interface IDescription
getStartDate
public java.util.Date getStartDate()
setStartDate
public void setStartDate(java.util.Date startDateTime)
getEndDate
public java.util.Date getEndDate()
setEndDate
public void setEndDate(java.util.Date endDateTime)
getName
public java.lang.String getName()
- Specified by:
getName in interface IDescription
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface IDescription
isWebAccessible
public boolean isWebAccessible()
getId
public java.lang.Long getId()
- Specified by:
getId in interface ValueObject
setId
public void setId(java.lang.Long id)
- Specified by:
setId in interface ValueObject
getResourceType
public java.lang.String getResourceType()
setResourceType
public void setResourceType(java.lang.String resourceType)
getPersonId
public java.lang.Long getPersonId()
setPersonId
public void setPersonId(java.lang.Long personId)
getDevices
public java.util.Collection getDevices()
setDevices
public void setDevices(java.util.Collection devices)
getDataContainers
public java.util.Collection getDataContainers()
setDataContainers
public void setDataContainers(java.util.Collection dataContainers)
getDataProducers
public java.util.Collection getDataProducers()
setDataProducers
public void setDataProducers(java.util.Collection dataProducers)
getPerson
public IPerson getPerson()
setPerson
public void setPerson(IPerson person)
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object obj)
getSoftwares
public java.util.Collection getSoftwares()
setSoftwares
public void setSoftwares(java.util.Collection property)