Exemplo n.º 1
0
 /**
  * Copies the given property data, except the name.
  * @param newName New name.
  * @param propertyData Property data to copy the rest of properties from.
  */
 public PropertyData(String newName, PropertyData propertyData)
 {
     this.Name       = newName;
     this.BeanName   = propertyData.BeanName;
     this.AccessType = propertyData.AccessType;
     this.Store      = propertyData.Store;
 }
Exemplo n.º 2
0
 /**
  * @param name Name of the property.
  * @param beanName Name of the property in the bean.
  * @param accessType Accessor type for this property.
  * @param store How this property should be stored.
  */
 public PropertyData(String name, String beanName, String accessType, ModificationStore store)
 {
     this.Name       = name;
     this.BeanName   = beanName;
     this.AccessType = accessType;
     this.Store      = store;
 }
Exemplo n.º 3
0
 /// <summary>
 /// </summary>
 /// <param name="name">Name of the property.</param>
 /// <param name="beanName">Name of the property in the bean.</param>
 /// <param name="accessType">Accessor type for this property.</param>
 /// <param name="store">How this property should be stored.</param>
 public PropertyData(string name, string beanName, string accessType, ModificationStore store)
 {
     Name = name;
     BeanName = beanName;
     AccessType = accessType;
     this.store = store;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Copies the given property data, except the name.
 /// </summary>
 /// <param name="newName">New name</param>
 /// <param name="propertyData">Property data to copy the rest of properties from.</param>
 public PropertyData(string newName, PropertyData propertyData)
 {
     Name = newName;
     BeanName = propertyData.BeanName;
     AccessType = propertyData.AccessType;
     store = propertyData.store;
 }
Exemplo n.º 5
0
 /**
  * @param name Name of the property.
  * @param beanName Name of the property in the bean.
  * @param accessType Accessor type for this property.
  * @param store How this property should be stored.
  */
 public PropertyData(String name, String beanName, String accessType, ModificationStore store)
 {
     this.Name = name;
     this.BeanName = beanName;
     this.AccessType = accessType;
     this.Store = store;
 }
        public PropertyAuditingData(String name, String accessType, ModificationStore store,
								    RelationTargetAuditMode relationTargetAuditMode,
                                    String auditMappedBy, String positionMappedBy,
                                    bool forceInsertable) {
            this.Name = name;
		    this.BeanName = name;
            this.AccessType = accessType;
            this.Store = store;
		    this.relationTargetAuditMode = relationTargetAuditMode;
            this.AuditMappedBy = auditMappedBy;
            this.PositionMappedBy = positionMappedBy;
            this.ForceInsertable = forceInsertable;
        }
	    public AuditedPropertiesReader(ModificationStore defaultStore,
								       IPersistentPropertiesSource persistentPropertiesSource,
								       IAuditedPropertiesHolder auditedPropertiesHolder,
								       GlobalConfiguration globalCfg,
								       String propertyNamePrefix) {
		    this._defaultStore = defaultStore;
		    this._persistentPropertiesSource = persistentPropertiesSource;
		    this._auditedPropertiesHolder = auditedPropertiesHolder;
		    this._globalCfg = globalCfg;
		    this._propertyNamePrefix = propertyNamePrefix;

		    _propertyAccessedPersistentProperties = Toolz.NewHashSet<String>();
		    _fieldAccessedPersistentProperties = Toolz.NewHashSet<String>();
	    }
Exemplo n.º 8
0
 public PropertyAuditingData(String name, String accessType, ModificationStore store,
                             RelationTargetAuditMode relationTargetAuditMode,
                             String auditMappedBy, String positionMappedBy,
                             bool forceInsertable)
 {
     this.Name       = name;
     this.BeanName   = name;
     this.AccessType = accessType;
     this.Store      = store;
     this.relationTargetAuditMode = relationTargetAuditMode;
     this.AuditMappedBy           = auditMappedBy;
     this.PositionMappedBy        = positionMappedBy;
     this.ForceInsertable         = forceInsertable;
 }
        public AuditedPropertiesReader(ModificationStore defaultStore,
                                       IPersistentPropertiesSource persistentPropertiesSource,
                                       IAuditedPropertiesHolder auditedPropertiesHolder,
                                       GlobalConfiguration globalCfg,
                                       String propertyNamePrefix)
        {
            this._defaultStore = defaultStore;
            this._persistentPropertiesSource = persistentPropertiesSource;
            this._auditedPropertiesHolder    = auditedPropertiesHolder;
            this._globalCfg          = globalCfg;
            this._propertyNamePrefix = propertyNamePrefix;

            _propertyAccessedPersistentProperties = Toolz.NewHashSet <String>();
            _fieldAccessedPersistentProperties    = Toolz.NewHashSet <String>();
        }
Exemplo n.º 10
0
        /**
         * Copies the given property data, except the name.
         * @param newName New name.
         * @param propertyData Property data to copy the rest of properties from.
         */
        public PropertyData(String newName, PropertyData propertyData) {
            this.Name = newName;
		    this.BeanName = propertyData.BeanName;
            this.AccessType = propertyData.AccessType;
            this.Store = propertyData.Store;
        }