Package com.iizigo.vs
Class VSConnection
- java.lang.Object
- com.iizigo.vs.VSConnection
public class VSConnection extends java.lang.Object
Class used to create connection to a VS field.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description PropCnr
masterParent
The master parent.PropCnr
property
The property to connect to a VS field.java.lang.String
suggestedName
The suggested name.java.lang.String
vsBaseReference
The base reference to the VS (base property container must exist).
Constructor Summary
Constructors Constructor Description VSConnection(PropCnr masterParent, PropCnr property, java.lang.String vsBaseReference)
Creates the connection.VSConnection(PropCnr masterParent, PropCnr property, java.lang.String vsBaseReference, java.lang.String suggestedName)
Creates the connection.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Gets the VS field name.void
setName(java.lang.String name)
Assigns the relative reference name.
Field Detail
masterParent
public final PropCnr masterParent
The master parent.
property
public final PropCnr property
The property to connect to a VS field.
suggestedName
public final java.lang.String suggestedName
The suggested name.
vsBaseReference
public final java.lang.String vsBaseReference
The base reference to the VS (base property container must exist).
Constructor Detail
VSConnection
public VSConnection(PropCnr masterParent, PropCnr property, java.lang.String vsBaseReference)
Creates the connection.- Parameters:
masterParent
- The "master" parent, i.e. maybe not the direct parent.property
- The property.vsBaseReference
- The base reference to the VS (base property container must exist).
VSConnection
public VSConnection(PropCnr masterParent, PropCnr property, java.lang.String vsBaseReference, java.lang.String suggestedName)
Creates the connection.- Parameters:
masterParent
- The "master" parent, i.e. maybe not the direct parent.property
- The property.vsBaseReference
- The base reference to the VS (base property container must exist).suggestedName
- The suggested name, or null to use the property name.