Class WoofResourceModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.woof.model.resources.WoofResourceModel
-
- All Implemented Interfaces:
ItemModel<WoofResourceModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class WoofResourceModel extends AbstractModel implements ItemModel<WoofResourceModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WoofResourceModel.WoofResourceEvent
-
Constructor Summary
Constructors Constructor Description WoofResourceModel()
Default constructor.WoofResourceModel(java.lang.String protocol, java.lang.String location, java.lang.String contextPath)
Convenience constructor for new non-linked instance.WoofResourceModel(java.lang.String protocol, java.lang.String location, java.lang.String contextPath, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.WoofResourceModel(java.lang.String protocol, java.lang.String location, java.lang.String contextPath, WoofResourceSecurityModel security, TypeQualificationModel[] typeQualification, WoofResourceTransformerModel[] woofResourceTransformer)
Convenience constructor.WoofResourceModel(java.lang.String protocol, java.lang.String location, java.lang.String contextPath, WoofResourceSecurityModel security, TypeQualificationModel[] typeQualification, WoofResourceTransformerModel[] woofResourceTransformer, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTypeQualification(TypeQualificationModel typeQualification)
void
addWoofResourceTransformer(WoofResourceTransformerModel woofResourceTransformer)
java.lang.String
getContextPath()
java.lang.String
getLocation()
java.lang.String
getProtocol()
WoofResourceSecurityModel
getSecurity()
java.util.List<TypeQualificationModel>
getTypeQualifications()
java.util.List<WoofResourceTransformerModel>
getWoofResourceTransformers()
RemoveConnectionsAction<WoofResourceModel>
removeConnections()
Remove Connections.void
removeTypeQualification(TypeQualificationModel typeQualification)
void
removeWoofResourceTransformer(WoofResourceTransformerModel woofResourceTransformer)
void
setContextPath(java.lang.String contextPath)
void
setLocation(java.lang.String location)
void
setProtocol(java.lang.String protocol)
void
setSecurity(WoofResourceSecurityModel security)
-
Methods inherited from class net.officefloor.model.AbstractModel
addItemToList, addPropertyChangeListener, changeField, firePropertyChange, getX, getY, removeItemFromList, removePropertyChangeListener, setX, setY
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.model.Model
addPropertyChangeListener, getX, getY, removePropertyChangeListener, setX, setY
-
-
-
-
Constructor Detail
-
WoofResourceModel
public WoofResourceModel()
Default constructor.
-
WoofResourceModel
public WoofResourceModel(java.lang.String protocol, java.lang.String location, java.lang.String contextPath)
Convenience constructor for new non-linked instance.- Parameters:
protocol
- Protocol.location
- Location.contextPath
- Context path.
-
WoofResourceModel
public WoofResourceModel(java.lang.String protocol, java.lang.String location, java.lang.String contextPath, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
protocol
- Protocol.location
- Location.contextPath
- Context path.x
- Horizontal location.y
- Vertical location.
-
WoofResourceModel
public WoofResourceModel(java.lang.String protocol, java.lang.String location, java.lang.String contextPath, WoofResourceSecurityModel security, TypeQualificationModel[] typeQualification, WoofResourceTransformerModel[] woofResourceTransformer)
Convenience constructor.- Parameters:
protocol
- Protocol.location
- Location.contextPath
- Context path.security
- Security.typeQualification
- Type qualification.woofResourceTransformer
- Woof resource transformer.
-
WoofResourceModel
public WoofResourceModel(java.lang.String protocol, java.lang.String location, java.lang.String contextPath, WoofResourceSecurityModel security, TypeQualificationModel[] typeQualification, WoofResourceTransformerModel[] woofResourceTransformer, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
protocol
- Protocol.location
- Location.contextPath
- Context path.security
- Security.typeQualification
- Type qualification.woofResourceTransformer
- Woof resource transformer.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getProtocol
public java.lang.String getProtocol()
- Returns:
- Protocol.
-
setProtocol
public void setProtocol(java.lang.String protocol)
- Parameters:
protocol
- Protocol.
-
getLocation
public java.lang.String getLocation()
- Returns:
- Location.
-
setLocation
public void setLocation(java.lang.String location)
- Parameters:
location
- Location.
-
getContextPath
public java.lang.String getContextPath()
- Returns:
- Context path.
-
setContextPath
public void setContextPath(java.lang.String contextPath)
- Parameters:
contextPath
- Context path.
-
getSecurity
public WoofResourceSecurityModel getSecurity()
- Returns:
- Security.
-
setSecurity
public void setSecurity(WoofResourceSecurityModel security)
- Parameters:
security
- Security.
-
getTypeQualifications
public java.util.List<TypeQualificationModel> getTypeQualifications()
- Returns:
- Type qualification.
-
addTypeQualification
public void addTypeQualification(TypeQualificationModel typeQualification)
- Parameters:
typeQualification
- Type qualification.
-
removeTypeQualification
public void removeTypeQualification(TypeQualificationModel typeQualification)
- Parameters:
typeQualification
- Type qualification.
-
getWoofResourceTransformers
public java.util.List<WoofResourceTransformerModel> getWoofResourceTransformers()
- Returns:
- Woof resource transformer.
-
addWoofResourceTransformer
public void addWoofResourceTransformer(WoofResourceTransformerModel woofResourceTransformer)
- Parameters:
woofResourceTransformer
- Woof resource transformer.
-
removeWoofResourceTransformer
public void removeWoofResourceTransformer(WoofResourceTransformerModel woofResourceTransformer)
- Parameters:
woofResourceTransformer
- Woof resource transformer.
-
removeConnections
public RemoveConnectionsAction<WoofResourceModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<WoofResourceModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-