/** The meta-bean for {@code InflationCurveTypeConfiguration}. */
  public static class Meta extends CurveTypeConfiguration.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code reference} property. */
    private final MetaProperty<String> _reference =
        DirectMetaProperty.ofReadWrite(
            this, "reference", InflationCurveTypeConfiguration.class, String.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this, (DirectMetaPropertyMap) super.metaPropertyMap(), "reference");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -925155509: // reference
          return _reference;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends InflationCurveTypeConfiguration> builder() {
      return new DirectBeanBuilder<InflationCurveTypeConfiguration>(
          new InflationCurveTypeConfiguration());
    }

    @Override
    public Class<? extends InflationCurveTypeConfiguration> beanType() {
      return InflationCurveTypeConfiguration.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code reference} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> reference() {
      return _reference;
    }
  }
  /** The meta-bean for {@code DocumentationHolder}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code documentation} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<Documentation<?>> documentation =
        DirectMetaProperty.ofReadWrite(
            this, "documentation", DocumentationHolder.class, (Class) Documentation.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> map =
        new DirectMetaPropertyMap(this, null, "documentation");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 1587405498: // documentation
          return documentation;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends DocumentationHolder> builder() {
      return new DirectBeanBuilder<DocumentationHolder>(new DocumentationHolder());
    }

    @Override
    public Class<? extends DocumentationHolder> beanType() {
      return DocumentationHolder.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code documentation} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Documentation<?>> documentation() {
      return documentation;
    }
  }
  /** The meta-bean for {@code StockFutureSecurity}. */
  public static class Meta extends FutureSecurity.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code underlyingId} property. */
    private final MetaProperty<ExternalId> _underlyingId =
        DirectMetaProperty.ofReadWrite(
            this, "underlyingId", StockFutureSecurity.class, ExternalId.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> _map =
        new DirectMetaPropertyMap(
            this, (DirectMetaPropertyMap) super.metaPropertyMap(), "underlyingId");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -771625640: // underlyingId
          return _underlyingId;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends StockFutureSecurity> builder() {
      return new DirectBeanBuilder<StockFutureSecurity>(new StockFutureSecurity());
    }

    @Override
    public Class<? extends StockFutureSecurity> beanType() {
      return StockFutureSecurity.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return _map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code underlyingId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalId> underlyingId() {
      return _underlyingId;
    }
  }
  /** The meta-bean for {@code CogdaCommandMessage}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code correlationId} property. */
    private final MetaProperty<Long> _correlationId =
        DirectMetaProperty.ofReadWrite(this, "correlationId", CogdaCommandMessage.class, Long.TYPE);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "correlationId");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -764983747: // correlationId
          return _correlationId;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends CogdaCommandMessage> builder() {
      throw new UnsupportedOperationException("CogdaCommandMessage is an abstract class");
    }

    @Override
    public Class<? extends CogdaCommandMessage> beanType() {
      return CogdaCommandMessage.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code correlationId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Long> correlationId() {
      return _correlationId;
    }
  }
  /** The meta-bean for {@code InterestRateSwapSecurity}. */
  public static final class Meta extends FinancialSecurity.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code notionalExchange} property. */
    private final MetaProperty<NotionalExchange> _notionalExchange =
        DirectMetaProperty.ofReadWrite(
            this, "notionalExchange", InterestRateSwapSecurity.class, NotionalExchange.class);
    /** The meta-property for the {@code effectiveDate} property. */
    private final MetaProperty<LocalDate> _effectiveDate =
        DirectMetaProperty.ofReadWrite(
            this, "effectiveDate", InterestRateSwapSecurity.class, LocalDate.class);
    /** The meta-property for the {@code unadjustedMaturityDate} property. */
    private final MetaProperty<LocalDate> _unadjustedMaturityDate =
        DirectMetaProperty.ofReadWrite(
            this, "unadjustedMaturityDate", InterestRateSwapSecurity.class, LocalDate.class);
    /** The meta-property for the {@code legs} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<List<InterestRateSwapLeg>> _legs =
        DirectMetaProperty.ofReadWrite(
            this, "legs", InterestRateSwapSecurity.class, (Class) List.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "notionalExchange",
            "effectiveDate",
            "unadjustedMaturityDate",
            "legs");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -159410813: // notionalExchange
          return _notionalExchange;
        case -930389515: // effectiveDate
          return _effectiveDate;
        case -2038917498: // unadjustedMaturityDate
          return _unadjustedMaturityDate;
        case 3317797: // legs
          return _legs;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends InterestRateSwapSecurity> builder() {
      return new DirectBeanBuilder<InterestRateSwapSecurity>(new InterestRateSwapSecurity());
    }

    @Override
    public Class<? extends InterestRateSwapSecurity> beanType() {
      return InterestRateSwapSecurity.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code notionalExchange} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<NotionalExchange> notionalExchange() {
      return _notionalExchange;
    }

    /**
     * The meta-property for the {@code effectiveDate} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<LocalDate> effectiveDate() {
      return _effectiveDate;
    }

    /**
     * The meta-property for the {@code unadjustedMaturityDate} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<LocalDate> unadjustedMaturityDate() {
      return _unadjustedMaturityDate;
    }

    /**
     * The meta-property for the {@code legs} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<List<InterestRateSwapLeg>> legs() {
      return _legs;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -159410813: // notionalExchange
          return ((InterestRateSwapSecurity) bean).getNotionalExchange();
        case -930389515: // effectiveDate
          return ((InterestRateSwapSecurity) bean).getEffectiveDate();
        case -2038917498: // unadjustedMaturityDate
          return ((InterestRateSwapSecurity) bean).getUnadjustedMaturityDate();
        case 3317797: // legs
          return ((InterestRateSwapSecurity) bean).getLegs();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @SuppressWarnings("unchecked")
    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -159410813: // notionalExchange
          ((InterestRateSwapSecurity) bean).setNotionalExchange((NotionalExchange) newValue);
          return;
        case -930389515: // effectiveDate
          ((InterestRateSwapSecurity) bean).setEffectiveDate((LocalDate) newValue);
          return;
        case -2038917498: // unadjustedMaturityDate
          ((InterestRateSwapSecurity) bean).setUnadjustedMaturityDate((LocalDate) newValue);
          return;
        case 3317797: // legs
          ((InterestRateSwapSecurity) bean).setLegs((List<InterestRateSwapLeg>) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }

    @Override
    protected void validate(Bean bean) {
      JodaBeanUtils.notNull(
          ((InterestRateSwapSecurity) bean)._notionalExchange, "notionalExchange");
      JodaBeanUtils.notNull(((InterestRateSwapSecurity) bean)._legs, "legs");
      super.validate(bean);
    }
  }
  /** The meta-bean for {@code ResultModelDefinition}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code aggregatePositionOutputMode} property. */
    private final MetaProperty<ResultOutputMode> _aggregatePositionOutputMode =
        DirectMetaProperty.ofReadWrite(
            this,
            "aggregatePositionOutputMode",
            ResultModelDefinition.class,
            ResultOutputMode.class);
    /** The meta-property for the {@code positionOutputMode} property. */
    private final MetaProperty<ResultOutputMode> _positionOutputMode =
        DirectMetaProperty.ofReadWrite(
            this, "positionOutputMode", ResultModelDefinition.class, ResultOutputMode.class);
    /** The meta-property for the {@code tradeOutputMode} property. */
    private final MetaProperty<ResultOutputMode> _tradeOutputMode =
        DirectMetaProperty.ofReadWrite(
            this, "tradeOutputMode", ResultModelDefinition.class, ResultOutputMode.class);
    /** The meta-property for the {@code securityOutputMode} property. */
    private final MetaProperty<ResultOutputMode> _securityOutputMode =
        DirectMetaProperty.ofReadWrite(
            this, "securityOutputMode", ResultModelDefinition.class, ResultOutputMode.class);
    /** The meta-property for the {@code primitiveOutputMode} property. */
    private final MetaProperty<ResultOutputMode> _primitiveOutputMode =
        DirectMetaProperty.ofReadWrite(
            this, "primitiveOutputMode", ResultModelDefinition.class, ResultOutputMode.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> _map =
        new DirectMetaPropertyMap(
            this,
            null,
            "aggregatePositionOutputMode",
            "positionOutputMode",
            "tradeOutputMode",
            "securityOutputMode",
            "primitiveOutputMode");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 1633131628: // aggregatePositionOutputMode
          return _aggregatePositionOutputMode;
        case -798411699: // positionOutputMode
          return _positionOutputMode;
        case -1772765496: // tradeOutputMode
          return _tradeOutputMode;
        case -583556700: // securityOutputMode
          return _securityOutputMode;
        case 545428107: // primitiveOutputMode
          return _primitiveOutputMode;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends ResultModelDefinition> builder() {
      return new DirectBeanBuilder<ResultModelDefinition>(new ResultModelDefinition());
    }

    @Override
    public Class<? extends ResultModelDefinition> beanType() {
      return ResultModelDefinition.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return _map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code aggregatePositionOutputMode} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ResultOutputMode> aggregatePositionOutputMode() {
      return _aggregatePositionOutputMode;
    }

    /**
     * The meta-property for the {@code positionOutputMode} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ResultOutputMode> positionOutputMode() {
      return _positionOutputMode;
    }

    /**
     * The meta-property for the {@code tradeOutputMode} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ResultOutputMode> tradeOutputMode() {
      return _tradeOutputMode;
    }

    /**
     * The meta-property for the {@code securityOutputMode} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ResultOutputMode> securityOutputMode() {
      return _securityOutputMode;
    }

    /**
     * The meta-property for the {@code primitiveOutputMode} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ResultOutputMode> primitiveOutputMode() {
      return _primitiveOutputMode;
    }
  }
示例#7
0
  /** The meta-bean for {@code AbstractLink}. */
  public static class Meta<T extends UniqueIdentifiable> extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    @SuppressWarnings("rawtypes")
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code objectId} property. */
    private final MetaProperty<ObjectId> _objectId =
        DirectMetaProperty.ofReadWrite(this, "objectId", AbstractLink.class, ObjectId.class);
    /** The meta-property for the {@code externalId} property. */
    private final MetaProperty<ExternalIdBundle> _externalId =
        DirectMetaProperty.ofReadWrite(
            this, "externalId", AbstractLink.class, ExternalIdBundle.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "objectId", "externalId");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 90495162: // objectId
          return _objectId;
        case -1699764666: // externalId
          return _externalId;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends AbstractLink<T>> builder() {
      throw new UnsupportedOperationException("AbstractLink is an abstract class");
    }

    @SuppressWarnings({"unchecked", "rawtypes"})
    @Override
    public Class<? extends AbstractLink<T>> beanType() {
      return (Class) AbstractLink.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code objectId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ObjectId> objectId() {
      return _objectId;
    }

    /**
     * The meta-property for the {@code externalId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalIdBundle> externalId() {
      return _externalId;
    }
  }
  /** The meta-bean for {@code SimpleUserAccount}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code userName} property. */
    private final MetaProperty<String> _userName =
        DirectMetaProperty.ofReadWrite(this, "userName", SimpleUserAccount.class, String.class);
    /** The meta-property for the {@code passwordHash} property. */
    private final MetaProperty<String> _passwordHash =
        DirectMetaProperty.ofReadWrite(this, "passwordHash", SimpleUserAccount.class, String.class);
    /** The meta-property for the {@code status} property. */
    private final MetaProperty<UserAccountStatus> _status =
        DirectMetaProperty.ofReadWrite(
            this, "status", SimpleUserAccount.class, UserAccountStatus.class);
    /** The meta-property for the {@code alternateIds} property. */
    private final MetaProperty<ExternalIdBundle> _alternateIds =
        DirectMetaProperty.ofReadWrite(
            this, "alternateIds", SimpleUserAccount.class, ExternalIdBundle.class);
    /** The meta-property for the {@code roles} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<Set<String>> _roles =
        DirectMetaProperty.ofReadWrite(this, "roles", SimpleUserAccount.class, (Class) Set.class);
    /** The meta-property for the {@code permissions} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<Set<String>> _permissions =
        DirectMetaProperty.ofReadWrite(
            this, "permissions", SimpleUserAccount.class, (Class) Set.class);
    /** The meta-property for the {@code emailAddress} property. */
    private final MetaProperty<String> _emailAddress =
        DirectMetaProperty.ofReadWrite(this, "emailAddress", SimpleUserAccount.class, String.class);
    /** The meta-property for the {@code profile} property. */
    private final MetaProperty<SimpleUserProfile> _profile =
        DirectMetaProperty.ofReadWrite(
            this, "profile", SimpleUserAccount.class, SimpleUserProfile.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            null,
            "userName",
            "passwordHash",
            "status",
            "alternateIds",
            "roles",
            "permissions",
            "emailAddress",
            "profile");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -266666762: // userName
          return _userName;
        case 566700617: // passwordHash
          return _passwordHash;
        case -892481550: // status
          return _status;
        case -1805823010: // alternateIds
          return _alternateIds;
        case 108695229: // roles
          return _roles;
        case 1133704324: // permissions
          return _permissions;
        case -1070931784: // emailAddress
          return _emailAddress;
        case -309425751: // profile
          return _profile;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends SimpleUserAccount> builder() {
      return new DirectBeanBuilder<SimpleUserAccount>(new SimpleUserAccount());
    }

    @Override
    public Class<? extends SimpleUserAccount> beanType() {
      return SimpleUserAccount.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code userName} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> userName() {
      return _userName;
    }

    /**
     * The meta-property for the {@code passwordHash} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> passwordHash() {
      return _passwordHash;
    }

    /**
     * The meta-property for the {@code status} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<UserAccountStatus> status() {
      return _status;
    }

    /**
     * The meta-property for the {@code alternateIds} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalIdBundle> alternateIds() {
      return _alternateIds;
    }

    /**
     * The meta-property for the {@code roles} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Set<String>> roles() {
      return _roles;
    }

    /**
     * The meta-property for the {@code permissions} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Set<String>> permissions() {
      return _permissions;
    }

    /**
     * The meta-property for the {@code emailAddress} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> emailAddress() {
      return _emailAddress;
    }

    /**
     * The meta-property for the {@code profile} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<SimpleUserProfile> profile() {
      return _profile;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -266666762: // userName
          return ((SimpleUserAccount) bean).getUserName();
        case 566700617: // passwordHash
          return ((SimpleUserAccount) bean).getPasswordHash();
        case -892481550: // status
          return ((SimpleUserAccount) bean).getStatus();
        case -1805823010: // alternateIds
          return ((SimpleUserAccount) bean).getAlternateIds();
        case 108695229: // roles
          return ((SimpleUserAccount) bean).getRoles();
        case 1133704324: // permissions
          return ((SimpleUserAccount) bean).getPermissions();
        case -1070931784: // emailAddress
          return ((SimpleUserAccount) bean).getEmailAddress();
        case -309425751: // profile
          return ((SimpleUserAccount) bean).getProfile();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @SuppressWarnings("unchecked")
    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -266666762: // userName
          ((SimpleUserAccount) bean).setUserName((String) newValue);
          return;
        case 566700617: // passwordHash
          ((SimpleUserAccount) bean).setPasswordHash((String) newValue);
          return;
        case -892481550: // status
          ((SimpleUserAccount) bean).setStatus((UserAccountStatus) newValue);
          return;
        case -1805823010: // alternateIds
          ((SimpleUserAccount) bean).setAlternateIds((ExternalIdBundle) newValue);
          return;
        case 108695229: // roles
          ((SimpleUserAccount) bean).setRoles((Set<String>) newValue);
          return;
        case 1133704324: // permissions
          ((SimpleUserAccount) bean).setPermissions((Set<String>) newValue);
          return;
        case -1070931784: // emailAddress
          ((SimpleUserAccount) bean).setEmailAddress((String) newValue);
          return;
        case -309425751: // profile
          ((SimpleUserAccount) bean).setProfile((SimpleUserProfile) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }

    @Override
    protected void validate(Bean bean) {
      JodaBeanUtils.notNull(((SimpleUserAccount) bean)._userName, "userName");
      JodaBeanUtils.notNull(((SimpleUserAccount) bean)._alternateIds, "alternateIds");
      JodaBeanUtils.notNull(((SimpleUserAccount) bean)._roles, "roles");
      JodaBeanUtils.notNull(((SimpleUserAccount) bean)._permissions, "permissions");
      JodaBeanUtils.notNull(((SimpleUserAccount) bean)._profile, "profile");
    }
  }
  /** The meta-bean for {@code WebHolidayData}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code holidayMaster} property. */
    private final MetaProperty<HolidayMaster> _holidayMaster =
        DirectMetaProperty.ofReadWrite(
            this, "holidayMaster", WebHolidayData.class, HolidayMaster.class);
    /** The meta-property for the {@code uriInfo} property. */
    private final MetaProperty<UriInfo> _uriInfo =
        DirectMetaProperty.ofReadWrite(this, "uriInfo", WebHolidayData.class, UriInfo.class);
    /** The meta-property for the {@code uriHolidayId} property. */
    private final MetaProperty<String> _uriHolidayId =
        DirectMetaProperty.ofReadWrite(this, "uriHolidayId", WebHolidayData.class, String.class);
    /** The meta-property for the {@code uriVersionId} property. */
    private final MetaProperty<String> _uriVersionId =
        DirectMetaProperty.ofReadWrite(this, "uriVersionId", WebHolidayData.class, String.class);
    /** The meta-property for the {@code holiday} property. */
    private final MetaProperty<HolidayDocument> _holiday =
        DirectMetaProperty.ofReadWrite(
            this, "holiday", WebHolidayData.class, HolidayDocument.class);
    /** The meta-property for the {@code versioned} property. */
    private final MetaProperty<HolidayDocument> _versioned =
        DirectMetaProperty.ofReadWrite(
            this, "versioned", WebHolidayData.class, HolidayDocument.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> _map =
        new DirectMetaPropertyMap(
            this,
            null,
            "holidayMaster",
            "uriInfo",
            "uriHolidayId",
            "uriVersionId",
            "holiday",
            "versioned");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 246258906: // holidayMaster
          return _holidayMaster;
        case -173275078: // uriInfo
          return _uriInfo;
        case -872009849: // uriHolidayId
          return _uriHolidayId;
        case 666567687: // uriVersionId
          return _uriVersionId;
        case 1091905624: // holiday
          return _holiday;
        case -1407102089: // versioned
          return _versioned;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends WebHolidayData> builder() {
      return new DirectBeanBuilder<WebHolidayData>(new WebHolidayData());
    }

    @Override
    public Class<? extends WebHolidayData> beanType() {
      return WebHolidayData.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return _map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code holidayMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<HolidayMaster> holidayMaster() {
      return _holidayMaster;
    }

    /**
     * The meta-property for the {@code uriInfo} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<UriInfo> uriInfo() {
      return _uriInfo;
    }

    /**
     * The meta-property for the {@code uriHolidayId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> uriHolidayId() {
      return _uriHolidayId;
    }

    /**
     * The meta-property for the {@code uriVersionId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> uriVersionId() {
      return _uriVersionId;
    }

    /**
     * The meta-property for the {@code holiday} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<HolidayDocument> holiday() {
      return _holiday;
    }

    /**
     * The meta-property for the {@code versioned} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<HolidayDocument> versioned() {
      return _versioned;
    }
  }
示例#10
0
  /** The meta-bean for {@code ToolContextComponentFactory}. */
  public static class Meta extends AbstractComponentFactory.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code classifier} property. */
    private final MetaProperty<String> _classifier =
        DirectMetaProperty.ofReadWrite(
            this, "classifier", ToolContextComponentFactory.class, String.class);
    /** The meta-property for the {@code configMaster} property. */
    private final MetaProperty<ConfigMaster> _configMaster =
        DirectMetaProperty.ofReadWrite(
            this, "configMaster", ToolContextComponentFactory.class, ConfigMaster.class);
    /** The meta-property for the {@code exchangeMaster} property. */
    private final MetaProperty<ExchangeMaster> _exchangeMaster =
        DirectMetaProperty.ofReadWrite(
            this, "exchangeMaster", ToolContextComponentFactory.class, ExchangeMaster.class);
    /** The meta-property for the {@code holidayMaster} property. */
    private final MetaProperty<HolidayMaster> _holidayMaster =
        DirectMetaProperty.ofReadWrite(
            this, "holidayMaster", ToolContextComponentFactory.class, HolidayMaster.class);
    /** The meta-property for the {@code regionMaster} property. */
    private final MetaProperty<RegionMaster> _regionMaster =
        DirectMetaProperty.ofReadWrite(
            this, "regionMaster", ToolContextComponentFactory.class, RegionMaster.class);
    /** The meta-property for the {@code securityMaster} property. */
    private final MetaProperty<SecurityMaster> _securityMaster =
        DirectMetaProperty.ofReadWrite(
            this, "securityMaster", ToolContextComponentFactory.class, SecurityMaster.class);
    /** The meta-property for the {@code positionMaster} property. */
    private final MetaProperty<PositionMaster> _positionMaster =
        DirectMetaProperty.ofReadWrite(
            this, "positionMaster", ToolContextComponentFactory.class, PositionMaster.class);
    /** The meta-property for the {@code portfolioMaster} property. */
    private final MetaProperty<PortfolioMaster> _portfolioMaster =
        DirectMetaProperty.ofReadWrite(
            this, "portfolioMaster", ToolContextComponentFactory.class, PortfolioMaster.class);
    /** The meta-property for the {@code historicalTimeSeriesMaster} property. */
    private final MetaProperty<HistoricalTimeSeriesMaster> _historicalTimeSeriesMaster =
        DirectMetaProperty.ofReadWrite(
            this,
            "historicalTimeSeriesMaster",
            ToolContextComponentFactory.class,
            HistoricalTimeSeriesMaster.class);
    /** The meta-property for the {@code marketDataSnapshotMaster} property. */
    private final MetaProperty<MarketDataSnapshotMaster> _marketDataSnapshotMaster =
        DirectMetaProperty.ofReadWrite(
            this,
            "marketDataSnapshotMaster",
            ToolContextComponentFactory.class,
            MarketDataSnapshotMaster.class);
    /** The meta-property for the {@code configSource} property. */
    private final MetaProperty<ConfigSource> _configSource =
        DirectMetaProperty.ofReadWrite(
            this, "configSource", ToolContextComponentFactory.class, ConfigSource.class);
    /** The meta-property for the {@code exchangeSource} property. */
    private final MetaProperty<ExchangeSource> _exchangeSource =
        DirectMetaProperty.ofReadWrite(
            this, "exchangeSource", ToolContextComponentFactory.class, ExchangeSource.class);
    /** The meta-property for the {@code holidaySource} property. */
    private final MetaProperty<HolidaySource> _holidaySource =
        DirectMetaProperty.ofReadWrite(
            this, "holidaySource", ToolContextComponentFactory.class, HolidaySource.class);
    /** The meta-property for the {@code regionSource} property. */
    private final MetaProperty<RegionSource> _regionSource =
        DirectMetaProperty.ofReadWrite(
            this, "regionSource", ToolContextComponentFactory.class, RegionSource.class);
    /** The meta-property for the {@code securitySource} property. */
    private final MetaProperty<SecuritySource> _securitySource =
        DirectMetaProperty.ofReadWrite(
            this, "securitySource", ToolContextComponentFactory.class, SecuritySource.class);
    /** The meta-property for the {@code positionSource} property. */
    private final MetaProperty<PositionSource> _positionSource =
        DirectMetaProperty.ofReadWrite(
            this, "positionSource", ToolContextComponentFactory.class, PositionSource.class);
    /** The meta-property for the {@code historicalTimeSeriesSource} property. */
    private final MetaProperty<HistoricalTimeSeriesSource> _historicalTimeSeriesSource =
        DirectMetaProperty.ofReadWrite(
            this,
            "historicalTimeSeriesSource",
            ToolContextComponentFactory.class,
            HistoricalTimeSeriesSource.class);
    /** The meta-property for the {@code marketDataSnapshotSource} property. */
    private final MetaProperty<MarketDataSnapshotSource> _marketDataSnapshotSource =
        DirectMetaProperty.ofReadWrite(
            this,
            "marketDataSnapshotSource",
            ToolContextComponentFactory.class,
            MarketDataSnapshotSource.class);
    /** The meta-property for the {@code conventionBundleSource} property. */
    private final MetaProperty<ConventionBundleSource> _conventionBundleSource =
        DirectMetaProperty.ofReadWrite(
            this,
            "conventionBundleSource",
            ToolContextComponentFactory.class,
            ConventionBundleSource.class);
    /** The meta-property for the {@code securityLoader} property. */
    private final MetaProperty<SecurityLoader> _securityLoader =
        DirectMetaProperty.ofReadWrite(
            this, "securityLoader", ToolContextComponentFactory.class, SecurityLoader.class);
    /** The meta-property for the {@code historicalTimeSeriesLoader} property. */
    private final MetaProperty<HistoricalTimeSeriesLoader> _historicalTimeSeriesLoader =
        DirectMetaProperty.ofReadWrite(
            this,
            "historicalTimeSeriesLoader",
            ToolContextComponentFactory.class,
            HistoricalTimeSeriesLoader.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "classifier",
            "configMaster",
            "exchangeMaster",
            "holidayMaster",
            "regionMaster",
            "securityMaster",
            "positionMaster",
            "portfolioMaster",
            "historicalTimeSeriesMaster",
            "marketDataSnapshotMaster",
            "configSource",
            "exchangeSource",
            "holidaySource",
            "regionSource",
            "securitySource",
            "positionSource",
            "historicalTimeSeriesSource",
            "marketDataSnapshotSource",
            "conventionBundleSource",
            "securityLoader",
            "historicalTimeSeriesLoader");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -281470431: // classifier
          return _classifier;
        case 10395716: // configMaster
          return _configMaster;
        case -652001691: // exchangeMaster
          return _exchangeMaster;
        case 246258906: // holidayMaster
          return _holidayMaster;
        case -1820969354: // regionMaster
          return _regionMaster;
        case -887218750: // securityMaster
          return _securityMaster;
        case -1840419605: // positionMaster
          return _positionMaster;
        case -772274742: // portfolioMaster
          return _portfolioMaster;
        case 173967376: // historicalTimeSeriesMaster
          return _historicalTimeSeriesMaster;
        case 2090650860: // marketDataSnapshotMaster
          return _marketDataSnapshotMaster;
        case 195157501: // configSource
          return _configSource;
        case -467239906: // exchangeSource
          return _exchangeSource;
        case 431020691: // holidaySource
          return _holidaySource;
        case -1636207569: // regionSource
          return _regionSource;
        case -702456965: // securitySource
          return _securitySource;
        case -1655657820: // positionSource
          return _positionSource;
        case 358729161: // historicalTimeSeriesSource
          return _historicalTimeSeriesSource;
        case -2019554651: // marketDataSnapshotSource
          return _marketDataSnapshotSource;
        case -1281578674: // conventionBundleSource
          return _conventionBundleSource;
        case -903470221: // securityLoader
          return _securityLoader;
        case 157715905: // historicalTimeSeriesLoader
          return _historicalTimeSeriesLoader;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends ToolContextComponentFactory> builder() {
      return new DirectBeanBuilder<ToolContextComponentFactory>(new ToolContextComponentFactory());
    }

    @Override
    public Class<? extends ToolContextComponentFactory> beanType() {
      return ToolContextComponentFactory.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code classifier} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> classifier() {
      return _classifier;
    }

    /**
     * The meta-property for the {@code configMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ConfigMaster> configMaster() {
      return _configMaster;
    }

    /**
     * The meta-property for the {@code exchangeMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExchangeMaster> exchangeMaster() {
      return _exchangeMaster;
    }

    /**
     * The meta-property for the {@code holidayMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<HolidayMaster> holidayMaster() {
      return _holidayMaster;
    }

    /**
     * The meta-property for the {@code regionMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<RegionMaster> regionMaster() {
      return _regionMaster;
    }

    /**
     * The meta-property for the {@code securityMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<SecurityMaster> securityMaster() {
      return _securityMaster;
    }

    /**
     * The meta-property for the {@code positionMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<PositionMaster> positionMaster() {
      return _positionMaster;
    }

    /**
     * The meta-property for the {@code portfolioMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<PortfolioMaster> portfolioMaster() {
      return _portfolioMaster;
    }

    /**
     * The meta-property for the {@code historicalTimeSeriesMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<HistoricalTimeSeriesMaster> historicalTimeSeriesMaster() {
      return _historicalTimeSeriesMaster;
    }

    /**
     * The meta-property for the {@code marketDataSnapshotMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<MarketDataSnapshotMaster> marketDataSnapshotMaster() {
      return _marketDataSnapshotMaster;
    }

    /**
     * The meta-property for the {@code configSource} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ConfigSource> configSource() {
      return _configSource;
    }

    /**
     * The meta-property for the {@code exchangeSource} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExchangeSource> exchangeSource() {
      return _exchangeSource;
    }

    /**
     * The meta-property for the {@code holidaySource} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<HolidaySource> holidaySource() {
      return _holidaySource;
    }

    /**
     * The meta-property for the {@code regionSource} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<RegionSource> regionSource() {
      return _regionSource;
    }

    /**
     * The meta-property for the {@code securitySource} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<SecuritySource> securitySource() {
      return _securitySource;
    }

    /**
     * The meta-property for the {@code positionSource} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<PositionSource> positionSource() {
      return _positionSource;
    }

    /**
     * The meta-property for the {@code historicalTimeSeriesSource} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<HistoricalTimeSeriesSource> historicalTimeSeriesSource() {
      return _historicalTimeSeriesSource;
    }

    /**
     * The meta-property for the {@code marketDataSnapshotSource} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<MarketDataSnapshotSource> marketDataSnapshotSource() {
      return _marketDataSnapshotSource;
    }

    /**
     * The meta-property for the {@code conventionBundleSource} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ConventionBundleSource> conventionBundleSource() {
      return _conventionBundleSource;
    }

    /**
     * The meta-property for the {@code securityLoader} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<SecurityLoader> securityLoader() {
      return _securityLoader;
    }

    /**
     * The meta-property for the {@code historicalTimeSeriesLoader} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<HistoricalTimeSeriesLoader> historicalTimeSeriesLoader() {
      return _historicalTimeSeriesLoader;
    }
  }
示例#11
0
  /** The meta-bean for {@code SimpleRegion}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code uniqueId} property. */
    private final MetaProperty<UniqueId> _uniqueId =
        DirectMetaProperty.ofReadWrite(this, "uniqueId", SimpleRegion.class, UniqueId.class);
    /** The meta-property for the {@code externalIdBundle} property. */
    private final MetaProperty<ExternalIdBundle> _externalIdBundle =
        DirectMetaProperty.ofReadWrite(
            this, "externalIdBundle", SimpleRegion.class, ExternalIdBundle.class);
    /** The meta-property for the {@code classification} property. */
    private final MetaProperty<RegionClassification> _classification =
        DirectMetaProperty.ofReadWrite(
            this, "classification", SimpleRegion.class, RegionClassification.class);
    /** The meta-property for the {@code parentRegionIds} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<Set<UniqueId>> _parentRegionIds =
        DirectMetaProperty.ofReadWrite(
            this, "parentRegionIds", SimpleRegion.class, (Class) Set.class);
    /** The meta-property for the {@code name} property. */
    private final MetaProperty<String> _name =
        DirectMetaProperty.ofReadWrite(this, "name", SimpleRegion.class, String.class);
    /** The meta-property for the {@code fullName} property. */
    private final MetaProperty<String> _fullName =
        DirectMetaProperty.ofReadWrite(this, "fullName", SimpleRegion.class, String.class);
    /** The meta-property for the {@code data} property. */
    private final MetaProperty<FlexiBean> _data =
        DirectMetaProperty.ofReadWrite(this, "data", SimpleRegion.class, FlexiBean.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            null,
            "uniqueId",
            "externalIdBundle",
            "classification",
            "parentRegionIds",
            "name",
            "fullName",
            "data");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -294460212: // uniqueId
          return _uniqueId;
        case -736922008: // externalIdBundle
          return _externalIdBundle;
        case 382350310: // classification
          return _classification;
        case 1273190810: // parentRegionIds
          return _parentRegionIds;
        case 3373707: // name
          return _name;
        case 1330852282: // fullName
          return _fullName;
        case 3076010: // data
          return _data;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends SimpleRegion> builder() {
      return new DirectBeanBuilder<SimpleRegion>(new SimpleRegion());
    }

    @Override
    public Class<? extends SimpleRegion> beanType() {
      return SimpleRegion.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code uniqueId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<UniqueId> uniqueId() {
      return _uniqueId;
    }

    /**
     * The meta-property for the {@code externalIdBundle} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalIdBundle> externalIdBundle() {
      return _externalIdBundle;
    }

    /**
     * The meta-property for the {@code classification} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<RegionClassification> classification() {
      return _classification;
    }

    /**
     * The meta-property for the {@code parentRegionIds} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Set<UniqueId>> parentRegionIds() {
      return _parentRegionIds;
    }

    /**
     * The meta-property for the {@code name} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> name() {
      return _name;
    }

    /**
     * The meta-property for the {@code fullName} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> fullName() {
      return _fullName;
    }

    /**
     * The meta-property for the {@code data} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<FlexiBean> data() {
      return _data;
    }
  }
示例#12
0
  /** The meta-bean for {@code MarketData}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code id} property. */
    private final MetaProperty<Long> _id =
        DirectMetaProperty.ofReadWrite(this, "id", MarketData.class, Long.TYPE);
    /** The meta-property for the {@code baseUidScheme} property. */
    private final MetaProperty<String> _baseUidScheme =
        DirectMetaProperty.ofReadWrite(this, "baseUidScheme", MarketData.class, String.class);
    /** The meta-property for the {@code baseUidValue} property. */
    private final MetaProperty<String> _baseUidValue =
        DirectMetaProperty.ofReadWrite(this, "baseUidValue", MarketData.class, String.class);
    /** The meta-property for the {@code baseUidVersion} property. */
    private final MetaProperty<String> _baseUidVersion =
        DirectMetaProperty.ofReadWrite(this, "baseUidVersion", MarketData.class, String.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this, null, "id", "baseUidScheme", "baseUidValue", "baseUidVersion");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 3355: // id
          return _id;
        case -1887986108: // baseUidScheme
          return _baseUidScheme;
        case 2020022514: // baseUidValue
          return _baseUidValue;
        case 36423705: // baseUidVersion
          return _baseUidVersion;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends MarketData> builder() {
      return new DirectBeanBuilder<MarketData>(new MarketData());
    }

    @Override
    public Class<? extends MarketData> beanType() {
      return MarketData.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code id} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Long> id() {
      return _id;
    }

    /**
     * The meta-property for the {@code baseUidScheme} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> baseUidScheme() {
      return _baseUidScheme;
    }

    /**
     * The meta-property for the {@code baseUidValue} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> baseUidValue() {
      return _baseUidValue;
    }

    /**
     * The meta-property for the {@code baseUidVersion} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> baseUidVersion() {
      return _baseUidVersion;
    }
  }
示例#13
0
  /** The meta-bean for {@code UidsResult}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code paging} property. */
    private final MetaProperty<Paging> _paging =
        DirectMetaProperty.ofReadWrite(this, "paging", UidsResult.class, Paging.class);
    /** The meta-property for the {@code uids} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<List<UniqueId>> _uids =
        DirectMetaProperty.ofReadWrite(this, "uids", UidsResult.class, (Class) List.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "paging", "uids");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -995747956: // paging
          return _paging;
        case 3589667: // uids
          return _uids;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends UidsResult> builder() {
      throw new UnsupportedOperationException("UidsResult is an abstract class");
    }

    @Override
    public Class<? extends UidsResult> beanType() {
      return UidsResult.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code paging} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Paging> paging() {
      return _paging;
    }

    /**
     * The meta-property for the {@code uids} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<List<UniqueId>> uids() {
      return _uids;
    }
  }
  /** The meta-bean for {@code NullMarketDataProviderComponentFactory}. */
  public static class Meta extends AbstractComponentFactory.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code classifier} property. */
    private final MetaProperty<String> _classifier =
        DirectMetaProperty.ofReadWrite(
            this, "classifier", NullMarketDataProviderComponentFactory.class, String.class);
    /** The meta-property for the {@code fudgeContext} property. */
    private final MetaProperty<FudgeContext> _fudgeContext =
        DirectMetaProperty.ofReadWrite(
            this, "fudgeContext", NullMarketDataProviderComponentFactory.class, FudgeContext.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this, (DirectMetaPropertyMap) super.metaPropertyMap(), "classifier", "fudgeContext");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -281470431: // classifier
          return _classifier;
        case -917704420: // fudgeContext
          return _fudgeContext;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends NullMarketDataProviderComponentFactory> builder() {
      return new DirectBeanBuilder<NullMarketDataProviderComponentFactory>(
          new NullMarketDataProviderComponentFactory());
    }

    @Override
    public Class<? extends NullMarketDataProviderComponentFactory> beanType() {
      return NullMarketDataProviderComponentFactory.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code classifier} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> classifier() {
      return _classifier;
    }

    /**
     * The meta-property for the {@code fudgeContext} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<FudgeContext> fudgeContext() {
      return _fudgeContext;
    }
  }
  /** The meta-bean for {@code FadeInPayoffStyle}. */
  public static class Meta extends PayoffStyle.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code lowerBound} property. */
    private final MetaProperty<Double> _lowerBound =
        DirectMetaProperty.ofReadWrite(this, "lowerBound", FadeInPayoffStyle.class, Double.TYPE);
    /** The meta-property for the {@code upperBound} property. */
    private final MetaProperty<Double> _upperBound =
        DirectMetaProperty.ofReadWrite(this, "upperBound", FadeInPayoffStyle.class, Double.TYPE);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this, (DirectMetaPropertyMap) super.metaPropertyMap(), "lowerBound", "upperBound");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 1200084733: // lowerBound
          return _lowerBound;
        case -1690761732: // upperBound
          return _upperBound;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends FadeInPayoffStyle> builder() {
      return new DirectBeanBuilder<FadeInPayoffStyle>(new FadeInPayoffStyle());
    }

    @Override
    public Class<? extends FadeInPayoffStyle> beanType() {
      return FadeInPayoffStyle.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code lowerBound} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Double> lowerBound() {
      return _lowerBound;
    }

    /**
     * The meta-property for the {@code upperBound} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Double> upperBound() {
      return _upperBound;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case 1200084733: // lowerBound
          return ((FadeInPayoffStyle) bean).getLowerBound();
        case -1690761732: // upperBound
          return ((FadeInPayoffStyle) bean).getUpperBound();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case 1200084733: // lowerBound
          ((FadeInPayoffStyle) bean).setLowerBound((Double) newValue);
          return;
        case -1690761732: // upperBound
          ((FadeInPayoffStyle) bean).setUpperBound((Double) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }
  }
  /** The meta-bean for {@code CommodityFutureOptionSecurity}. */
  public static class Meta extends FinancialSecurity.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code tradingExchange} property. */
    private final MetaProperty<String> _tradingExchange =
        DirectMetaProperty.ofReadWrite(
            this, "tradingExchange", CommodityFutureOptionSecurity.class, String.class);
    /** The meta-property for the {@code settlementExchange} property. */
    private final MetaProperty<String> _settlementExchange =
        DirectMetaProperty.ofReadWrite(
            this, "settlementExchange", CommodityFutureOptionSecurity.class, String.class);
    /** The meta-property for the {@code expiry} property. */
    private final MetaProperty<Expiry> _expiry =
        DirectMetaProperty.ofReadWrite(
            this, "expiry", CommodityFutureOptionSecurity.class, Expiry.class);
    /** The meta-property for the {@code exerciseType} property. */
    private final MetaProperty<ExerciseType> _exerciseType =
        DirectMetaProperty.ofReadWrite(
            this, "exerciseType", CommodityFutureOptionSecurity.class, ExerciseType.class);
    /** The meta-property for the {@code underlyingId} property. */
    private final MetaProperty<ExternalId> _underlyingId =
        DirectMetaProperty.ofReadWrite(
            this, "underlyingId", CommodityFutureOptionSecurity.class, ExternalId.class);
    /** The meta-property for the {@code pointValue} property. */
    private final MetaProperty<Double> _pointValue =
        DirectMetaProperty.ofReadWrite(
            this, "pointValue", CommodityFutureOptionSecurity.class, Double.TYPE);
    /** The meta-property for the {@code currency} property. */
    private final MetaProperty<Currency> _currency =
        DirectMetaProperty.ofReadWrite(
            this, "currency", CommodityFutureOptionSecurity.class, Currency.class);
    /** The meta-property for the {@code strike} property. */
    private final MetaProperty<Double> _strike =
        DirectMetaProperty.ofReadWrite(
            this, "strike", CommodityFutureOptionSecurity.class, Double.TYPE);
    /** The meta-property for the {@code optionType} property. */
    private final MetaProperty<OptionType> _optionType =
        DirectMetaProperty.ofReadWrite(
            this, "optionType", CommodityFutureOptionSecurity.class, OptionType.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "tradingExchange",
            "settlementExchange",
            "expiry",
            "exerciseType",
            "underlyingId",
            "pointValue",
            "currency",
            "strike",
            "optionType");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -661485980: // tradingExchange
          return _tradingExchange;
        case 389497452: // settlementExchange
          return _settlementExchange;
        case -1289159373: // expiry
          return _expiry;
        case -466331342: // exerciseType
          return _exerciseType;
        case -771625640: // underlyingId
          return _underlyingId;
        case 1257391553: // pointValue
          return _pointValue;
        case 575402001: // currency
          return _currency;
        case -891985998: // strike
          return _strike;
        case 1373587791: // optionType
          return _optionType;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends CommodityFutureOptionSecurity> builder() {
      return new DirectBeanBuilder<CommodityFutureOptionSecurity>(
          new CommodityFutureOptionSecurity());
    }

    @Override
    public Class<? extends CommodityFutureOptionSecurity> beanType() {
      return CommodityFutureOptionSecurity.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code tradingExchange} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> tradingExchange() {
      return _tradingExchange;
    }

    /**
     * The meta-property for the {@code settlementExchange} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> settlementExchange() {
      return _settlementExchange;
    }

    /**
     * The meta-property for the {@code expiry} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Expiry> expiry() {
      return _expiry;
    }

    /**
     * The meta-property for the {@code exerciseType} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExerciseType> exerciseType() {
      return _exerciseType;
    }

    /**
     * The meta-property for the {@code underlyingId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalId> underlyingId() {
      return _underlyingId;
    }

    /**
     * The meta-property for the {@code pointValue} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Double> pointValue() {
      return _pointValue;
    }

    /**
     * The meta-property for the {@code currency} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Currency> currency() {
      return _currency;
    }

    /**
     * The meta-property for the {@code strike} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Double> strike() {
      return _strike;
    }

    /**
     * The meta-property for the {@code optionType} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<OptionType> optionType() {
      return _optionType;
    }
  }
  /** The meta-bean for {@code RoleSearchResult}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code paging} property. */
    private final MetaProperty<Paging> _paging =
        DirectMetaProperty.ofReadWrite(this, "paging", RoleSearchResult.class, Paging.class);
    /** The meta-property for the {@code roles} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<List<ManageableRole>> _roles =
        DirectMetaProperty.ofReadWrite(this, "roles", RoleSearchResult.class, (Class) List.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "paging", "roles");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -995747956: // paging
          return _paging;
        case 108695229: // roles
          return _roles;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends RoleSearchResult> builder() {
      return new DirectBeanBuilder<RoleSearchResult>(new RoleSearchResult());
    }

    @Override
    public Class<? extends RoleSearchResult> beanType() {
      return RoleSearchResult.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code paging} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Paging> paging() {
      return _paging;
    }

    /**
     * The meta-property for the {@code roles} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<List<ManageableRole>> roles() {
      return _roles;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -995747956: // paging
          return ((RoleSearchResult) bean).getPaging();
        case 108695229: // roles
          return ((RoleSearchResult) bean).getRoles();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @SuppressWarnings("unchecked")
    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -995747956: // paging
          ((RoleSearchResult) bean).setPaging((Paging) newValue);
          return;
        case 108695229: // roles
          ((RoleSearchResult) bean).setRoles((List<ManageableRole>) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }

    @Override
    protected void validate(Bean bean) {
      JodaBeanUtils.notNull(((RoleSearchResult) bean)._roles, "roles");
    }
  }
示例#18
0
  /** The meta-bean for {@code SimpleHoliday}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code uniqueId} property. */
    private final MetaProperty<UniqueId> _uniqueId =
        DirectMetaProperty.ofReadWrite(this, "uniqueId", SimpleHoliday.class, UniqueId.class);
    /** The meta-property for the {@code type} property. */
    private final MetaProperty<HolidayType> _type =
        DirectMetaProperty.ofReadWrite(this, "type", SimpleHoliday.class, HolidayType.class);
    /** The meta-property for the {@code regionExternalId} property. */
    private final MetaProperty<ExternalId> _regionExternalId =
        DirectMetaProperty.ofReadWrite(
            this, "regionExternalId", SimpleHoliday.class, ExternalId.class);
    /** The meta-property for the {@code exchangeExternalId} property. */
    private final MetaProperty<ExternalId> _exchangeExternalId =
        DirectMetaProperty.ofReadWrite(
            this, "exchangeExternalId", SimpleHoliday.class, ExternalId.class);
    /** The meta-property for the {@code currency} property. */
    private final MetaProperty<Currency> _currency =
        DirectMetaProperty.ofReadWrite(this, "currency", SimpleHoliday.class, Currency.class);
    /** The meta-property for the {@code holidayDates} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<List<LocalDate>> _holidayDates =
        DirectMetaProperty.ofReadWrite(
            this, "holidayDates", SimpleHoliday.class, (Class) List.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> _map =
        new DirectMetaPropertyMap(
            this,
            null,
            "uniqueId",
            "type",
            "regionExternalId",
            "exchangeExternalId",
            "currency",
            "holidayDates");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -294460212: // uniqueId
          return _uniqueId;
        case 3575610: // type
          return _type;
        case -62093222: // regionExternalId
          return _regionExternalId;
        case 323354825: // exchangeExternalId
          return _exchangeExternalId;
        case 575402001: // currency
          return _currency;
        case -367347: // holidayDates
          return _holidayDates;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends SimpleHoliday> builder() {
      return new DirectBeanBuilder<SimpleHoliday>(new SimpleHoliday());
    }

    @Override
    public Class<? extends SimpleHoliday> beanType() {
      return SimpleHoliday.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return _map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code uniqueId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<UniqueId> uniqueId() {
      return _uniqueId;
    }

    /**
     * The meta-property for the {@code type} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<HolidayType> type() {
      return _type;
    }

    /**
     * The meta-property for the {@code regionExternalId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalId> regionExternalId() {
      return _regionExternalId;
    }

    /**
     * The meta-property for the {@code exchangeExternalId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalId> exchangeExternalId() {
      return _exchangeExternalId;
    }

    /**
     * The meta-property for the {@code currency} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Currency> currency() {
      return _currency;
    }

    /**
     * The meta-property for the {@code holidayDates} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<List<LocalDate>> holidayDates() {
      return _holidayDates;
    }
  }
  /** The meta-bean for {@code EquityIndexBean}. */
  public static class Meta extends IndexBean.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code equityComponents} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<List<EquityIndexComponentBean>> _equityComponents =
        DirectMetaProperty.ofReadWrite(
            this, "equityComponents", EquityIndexBean.class, (Class) List.class);
    /** The meta-property for the {@code weightingType} property. */
    private final MetaProperty<IndexWeightingTypeBean> _weightingType =
        DirectMetaProperty.ofReadWrite(
            this, "weightingType", EquityIndexBean.class, IndexWeightingTypeBean.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "equityComponents",
            "weightingType");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -281080901: // equityComponents
          return _equityComponents;
        case 86270148: // weightingType
          return _weightingType;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends EquityIndexBean> builder() {
      return new DirectBeanBuilder<EquityIndexBean>(new EquityIndexBean());
    }

    @Override
    public Class<? extends EquityIndexBean> beanType() {
      return EquityIndexBean.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code equityComponents} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<List<EquityIndexComponentBean>> equityComponents() {
      return _equityComponents;
    }

    /**
     * The meta-property for the {@code weightingType} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<IndexWeightingTypeBean> weightingType() {
      return _weightingType;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -281080901: // equityComponents
          return ((EquityIndexBean) bean).getEquityComponents();
        case 86270148: // weightingType
          return ((EquityIndexBean) bean).getWeightingType();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @SuppressWarnings("unchecked")
    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -281080901: // equityComponents
          ((EquityIndexBean) bean).setEquityComponents((List<EquityIndexComponentBean>) newValue);
          return;
        case 86270148: // weightingType
          ((EquityIndexBean) bean).setWeightingType((IndexWeightingTypeBean) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }
  }
  /** The meta-bean for {@code NonVersionedRedisConfigSourceComponentFactory}. */
  public static class Meta extends AbstractNonVersionedRedisSourceComponentFactory.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code userClassifier} property. */
    private final MetaProperty<String> _userClassifier =
        DirectMetaProperty.ofReadWrite(
            this,
            "userClassifier",
            NonVersionedRedisConfigSourceComponentFactory.class,
            String.class);
    /** The meta-property for the {@code userConfigMaster} property. */
    private final MetaProperty<ConfigMaster> _userConfigMaster =
        DirectMetaProperty.ofReadWrite(
            this,
            "userConfigMaster",
            NonVersionedRedisConfigSourceComponentFactory.class,
            ConfigMaster.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "userClassifier",
            "userConfigMaster");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 473030732: // userClassifier
          return _userClassifier;
        case -763459665: // userConfigMaster
          return _userConfigMaster;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends NonVersionedRedisConfigSourceComponentFactory> builder() {
      return new DirectBeanBuilder<NonVersionedRedisConfigSourceComponentFactory>(
          new NonVersionedRedisConfigSourceComponentFactory());
    }

    @Override
    public Class<? extends NonVersionedRedisConfigSourceComponentFactory> beanType() {
      return NonVersionedRedisConfigSourceComponentFactory.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code userClassifier} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> userClassifier() {
      return _userClassifier;
    }

    /**
     * The meta-property for the {@code userConfigMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ConfigMaster> userConfigMaster() {
      return _userConfigMaster;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case 473030732: // userClassifier
          return ((NonVersionedRedisConfigSourceComponentFactory) bean).getUserClassifier();
        case -763459665: // userConfigMaster
          return ((NonVersionedRedisConfigSourceComponentFactory) bean).getUserConfigMaster();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case 473030732: // userClassifier
          ((NonVersionedRedisConfigSourceComponentFactory) bean)
              .setUserClassifier((String) newValue);
          return;
        case -763459665: // userConfigMaster
          ((NonVersionedRedisConfigSourceComponentFactory) bean)
              .setUserConfigMaster((ConfigMaster) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }
  }
  /** The meta-bean for {@code WebBatchData}. */
  public static class Meta extends BasicMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code batchMaster} property. */
    private final MetaProperty<BatchMaster> _batchMaster =
        DirectMetaProperty.ofReadWrite(this, "batchMaster", BatchMaster.class);
    /** The meta-property for the {@code uriInfo} property. */
    private final MetaProperty<UriInfo> _uriInfo =
        DirectMetaProperty.ofReadWrite(this, "uriInfo", UriInfo.class);
    /** The meta-property for the {@code uriBatchId} property. */
    private final MetaProperty<String> _uriBatchId =
        DirectMetaProperty.ofReadWrite(this, "uriBatchId", String.class);
    /** The meta-property for the {@code batch} property. */
    private final MetaProperty<BatchDocument> _batch =
        DirectMetaProperty.ofReadWrite(this, "batch", BatchDocument.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> _map;

    @SuppressWarnings({"unchecked", "rawtypes"})
    protected Meta() {
      LinkedHashMap temp = new LinkedHashMap();
      temp.put("batchMaster", _batchMaster);
      temp.put("uriInfo", _uriInfo);
      temp.put("uriBatchId", _uriBatchId);
      temp.put("batch", _batch);
      _map = Collections.unmodifiableMap(temp);
    }

    @Override
    public WebBatchData createBean() {
      return new WebBatchData();
    }

    @Override
    public Class<? extends WebBatchData> beanType() {
      return WebBatchData.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return _map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code batchMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<BatchMaster> batchMaster() {
      return _batchMaster;
    }

    /**
     * The meta-property for the {@code uriInfo} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<UriInfo> uriInfo() {
      return _uriInfo;
    }

    /**
     * The meta-property for the {@code uriBatchId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> uriBatchId() {
      return _uriBatchId;
    }

    /**
     * The meta-property for the {@code batch} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<BatchDocument> batch() {
      return _batch;
    }
  }
  /** The meta-bean for {@code WebPositionsData}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code positionMaster} property. */
    private final MetaProperty<PositionMaster> _positionMaster =
        DirectMetaProperty.ofReadWrite(
            this, "positionMaster", WebPositionsData.class, PositionMaster.class);
    /** The meta-property for the {@code securityLoader} property. */
    private final MetaProperty<SecurityLoader> _securityLoader =
        DirectMetaProperty.ofReadWrite(
            this, "securityLoader", WebPositionsData.class, SecurityLoader.class);
    /** The meta-property for the {@code securitySource} property. */
    private final MetaProperty<SecuritySource> _securitySource =
        DirectMetaProperty.ofReadWrite(
            this, "securitySource", WebPositionsData.class, SecuritySource.class);
    /** The meta-property for the {@code uriInfo} property. */
    private final MetaProperty<UriInfo> _uriInfo =
        DirectMetaProperty.ofReadWrite(this, "uriInfo", WebPositionsData.class, UriInfo.class);
    /** The meta-property for the {@code uriPositionId} property. */
    private final MetaProperty<String> _uriPositionId =
        DirectMetaProperty.ofReadWrite(this, "uriPositionId", WebPositionsData.class, String.class);
    /** The meta-property for the {@code uriVersionId} property. */
    private final MetaProperty<String> _uriVersionId =
        DirectMetaProperty.ofReadWrite(this, "uriVersionId", WebPositionsData.class, String.class);
    /** The meta-property for the {@code position} property. */
    private final MetaProperty<PositionDocument> _position =
        DirectMetaProperty.ofReadWrite(
            this, "position", WebPositionsData.class, PositionDocument.class);
    /** The meta-property for the {@code versioned} property. */
    private final MetaProperty<PositionDocument> _versioned =
        DirectMetaProperty.ofReadWrite(
            this, "versioned", WebPositionsData.class, PositionDocument.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> _map =
        new DirectMetaPropertyMap(
            this,
            null,
            "positionMaster",
            "securityLoader",
            "securitySource",
            "uriInfo",
            "uriPositionId",
            "uriVersionId",
            "position",
            "versioned");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -1840419605: // positionMaster
          return _positionMaster;
        case -903470221: // securityLoader
          return _securityLoader;
        case -702456965: // securitySource
          return _securitySource;
        case -173275078: // uriInfo
          return _uriInfo;
        case 1240319664: // uriPositionId
          return _uriPositionId;
        case 666567687: // uriVersionId
          return _uriVersionId;
        case 747804969: // position
          return _position;
        case -1407102089: // versioned
          return _versioned;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends WebPositionsData> builder() {
      return new DirectBeanBuilder<WebPositionsData>(new WebPositionsData());
    }

    @Override
    public Class<? extends WebPositionsData> beanType() {
      return WebPositionsData.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return _map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code positionMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<PositionMaster> positionMaster() {
      return _positionMaster;
    }

    /**
     * The meta-property for the {@code securityLoader} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<SecurityLoader> securityLoader() {
      return _securityLoader;
    }

    /**
     * The meta-property for the {@code securitySource} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<SecuritySource> securitySource() {
      return _securitySource;
    }

    /**
     * The meta-property for the {@code uriInfo} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<UriInfo> uriInfo() {
      return _uriInfo;
    }

    /**
     * The meta-property for the {@code uriPositionId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> uriPositionId() {
      return _uriPositionId;
    }

    /**
     * The meta-property for the {@code uriVersionId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> uriVersionId() {
      return _uriVersionId;
    }

    /**
     * The meta-property for the {@code position} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<PositionDocument> position() {
      return _position;
    }

    /**
     * The meta-property for the {@code versioned} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<PositionDocument> versioned() {
      return _versioned;
    }
  }
示例#23
0
  /** The meta-bean for {@code ComputeHost}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code id} property. */
    private final MetaProperty<Long> _id =
        DirectMetaProperty.ofReadWrite(this, "id", ComputeHost.class, Long.TYPE);
    /** The meta-property for the {@code hostName} property. */
    private final MetaProperty<String> _hostName =
        DirectMetaProperty.ofReadWrite(this, "hostName", ComputeHost.class, String.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "id", "hostName");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 3355: // id
          return _id;
        case -300756909: // hostName
          return _hostName;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends ComputeHost> builder() {
      return new DirectBeanBuilder<ComputeHost>(new ComputeHost());
    }

    @Override
    public Class<? extends ComputeHost> beanType() {
      return ComputeHost.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code id} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Long> id() {
      return _id;
    }

    /**
     * The meta-property for the {@code hostName} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> hostName() {
      return _hostName;
    }
  }
  /** The meta-bean for {@code RepositoryConfigurationSourceComponentFactory}. */
  public static class Meta extends AbstractComponentFactory.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code classifier} property. */
    private final MetaProperty<String> _classifier =
        DirectMetaProperty.ofReadWrite(
            this, "classifier", RepositoryConfigurationSourceComponentFactory.class, String.class);
    /** The meta-property for the {@code publishRest} property. */
    private final MetaProperty<Boolean> _publishRest =
        DirectMetaProperty.ofReadWrite(
            this, "publishRest", RepositoryConfigurationSourceComponentFactory.class, Boolean.TYPE);
    /** The meta-property for the {@code configMaster} property. */
    private final MetaProperty<ConfigMaster> _configMaster =
        DirectMetaProperty.ofReadWrite(
            this,
            "configMaster",
            RepositoryConfigurationSourceComponentFactory.class,
            ConfigMaster.class);
    /** The meta-property for the {@code conventionBundleSource} property. */
    private final MetaProperty<ConventionBundleSource> _conventionBundleSource =
        DirectMetaProperty.ofReadWrite(
            this,
            "conventionBundleSource",
            RepositoryConfigurationSourceComponentFactory.class,
            ConventionBundleSource.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "classifier",
            "publishRest",
            "configMaster",
            "conventionBundleSource");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -281470431: // classifier
          return _classifier;
        case -614707837: // publishRest
          return _publishRest;
        case 10395716: // configMaster
          return _configMaster;
        case -1281578674: // conventionBundleSource
          return _conventionBundleSource;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends RepositoryConfigurationSourceComponentFactory> builder() {
      return new DirectBeanBuilder<RepositoryConfigurationSourceComponentFactory>(
          new RepositoryConfigurationSourceComponentFactory());
    }

    @Override
    public Class<? extends RepositoryConfigurationSourceComponentFactory> beanType() {
      return RepositoryConfigurationSourceComponentFactory.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code classifier} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> classifier() {
      return _classifier;
    }

    /**
     * The meta-property for the {@code publishRest} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Boolean> publishRest() {
      return _publishRest;
    }

    /**
     * The meta-property for the {@code configMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ConfigMaster> configMaster() {
      return _configMaster;
    }

    /**
     * The meta-property for the {@code conventionBundleSource} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ConventionBundleSource> conventionBundleSource() {
      return _conventionBundleSource;
    }
  }
示例#25
0
  /** The meta-bean for {@code ExposureFunctions}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code uniqueId} property. */
    private final MetaProperty<UniqueId> _uniqueId =
        DirectMetaProperty.ofReadWrite(this, "uniqueId", ExposureFunctions.class, UniqueId.class);
    /** The meta-property for the {@code name} property. */
    private final MetaProperty<String> _name =
        DirectMetaProperty.ofReadWrite(this, "name", ExposureFunctions.class, String.class);
    /** The meta-property for the {@code exposureFunctions} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<List<String>> _exposureFunctions =
        DirectMetaProperty.ofReadWrite(
            this, "exposureFunctions", ExposureFunctions.class, (Class) List.class);
    /** The meta-property for the {@code idsToNames} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<Map<ExternalId, String>> _idsToNames =
        DirectMetaProperty.ofReadWrite(
            this, "idsToNames", ExposureFunctions.class, (Class) Map.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this, null, "uniqueId", "name", "exposureFunctions", "idsToNames");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -294460212: // uniqueId
          return _uniqueId;
        case 3373707: // name
          return _name;
        case -1787010476: // exposureFunctions
          return _exposureFunctions;
        case -462409803: // idsToNames
          return _idsToNames;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends ExposureFunctions> builder() {
      return new DirectBeanBuilder<ExposureFunctions>(new ExposureFunctions());
    }

    @Override
    public Class<? extends ExposureFunctions> beanType() {
      return ExposureFunctions.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code uniqueId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<UniqueId> uniqueId() {
      return _uniqueId;
    }

    /**
     * The meta-property for the {@code name} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> name() {
      return _name;
    }

    /**
     * The meta-property for the {@code exposureFunctions} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<List<String>> exposureFunctions() {
      return _exposureFunctions;
    }

    /**
     * The meta-property for the {@code idsToNames} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Map<ExternalId, String>> idsToNames() {
      return _idsToNames;
    }
  }
  /** The meta-bean for {@code ManageablePortfolio}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code uniqueId} property. */
    private final MetaProperty<UniqueIdentifier> _uniqueId =
        DirectMetaProperty.ofReadWrite(
            this, "uniqueId", ManageablePortfolio.class, UniqueIdentifier.class);
    /** The meta-property for the {@code name} property. */
    private final MetaProperty<String> _name =
        DirectMetaProperty.ofReadWrite(this, "name", ManageablePortfolio.class, String.class);
    /** The meta-property for the {@code rootNode} property. */
    private final MetaProperty<ManageablePortfolioNode> _rootNode =
        DirectMetaProperty.ofReadWrite(
            this, "rootNode", ManageablePortfolio.class, ManageablePortfolioNode.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> _map =
        new DirectMetaPropertyMap(this, null, "uniqueId", "name", "rootNode");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -294460212: // uniqueId
          return _uniqueId;
        case 3373707: // name
          return _name;
        case -167026172: // rootNode
          return _rootNode;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends ManageablePortfolio> builder() {
      return new DirectBeanBuilder<ManageablePortfolio>(new ManageablePortfolio());
    }

    @Override
    public Class<? extends ManageablePortfolio> beanType() {
      return ManageablePortfolio.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return _map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code uniqueId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<UniqueIdentifier> uniqueId() {
      return _uniqueId;
    }

    /**
     * The meta-property for the {@code name} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> name() {
      return _name;
    }

    /**
     * The meta-property for the {@code rootNode} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ManageablePortfolioNode> rootNode() {
      return _rootNode;
    }
  }
  /** The meta-bean for {@code SecurityEnhancerResult}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code resultList} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<List<Security>> _resultList =
        DirectMetaProperty.ofReadWrite(
            this, "resultList", SecurityEnhancerResult.class, (Class) List.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "resultList");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -572090789: // resultList
          return _resultList;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends SecurityEnhancerResult> builder() {
      return new DirectBeanBuilder<SecurityEnhancerResult>(new SecurityEnhancerResult());
    }

    @Override
    public Class<? extends SecurityEnhancerResult> beanType() {
      return SecurityEnhancerResult.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code resultList} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<List<Security>> resultList() {
      return _resultList;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -572090789: // resultList
          return ((SecurityEnhancerResult) bean).getResultList();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @SuppressWarnings("unchecked")
    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -572090789: // resultList
          ((SecurityEnhancerResult) bean).setResultList((List<Security>) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }

    @Override
    protected void validate(Bean bean) {
      JodaBeanUtils.notNull(((SecurityEnhancerResult) bean)._resultList, "resultList");
    }
  }
示例#28
0
  /** The meta-bean for {@code SwapNode}. */
  public static class Meta extends CurveNode.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code startTenor} property. */
    private final MetaProperty<Tenor> _startTenor =
        DirectMetaProperty.ofReadWrite(this, "startTenor", SwapNode.class, Tenor.class);
    /** The meta-property for the {@code maturityTenor} property. */
    private final MetaProperty<Tenor> _maturityTenor =
        DirectMetaProperty.ofReadWrite(this, "maturityTenor", SwapNode.class, Tenor.class);
    /** The meta-property for the {@code payLegConvention} property. */
    private final MetaProperty<ExternalId> _payLegConvention =
        DirectMetaProperty.ofReadWrite(this, "payLegConvention", SwapNode.class, ExternalId.class);
    /** The meta-property for the {@code receiveLegConvention} property. */
    private final MetaProperty<ExternalId> _receiveLegConvention =
        DirectMetaProperty.ofReadWrite(
            this, "receiveLegConvention", SwapNode.class, ExternalId.class);
    /** The meta-property for the {@code useFixings} property. */
    private final MetaProperty<Boolean> _useFixings =
        DirectMetaProperty.ofReadWrite(this, "useFixings", SwapNode.class, Boolean.TYPE);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "startTenor",
            "maturityTenor",
            "payLegConvention",
            "receiveLegConvention",
            "useFixings");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -1583746178: // startTenor
          return _startTenor;
        case 45907375: // maturityTenor
          return _maturityTenor;
        case 774631511: // payLegConvention
          return _payLegConvention;
        case -560732676: // receiveLegConvention
          return _receiveLegConvention;
        case 1829944031: // useFixings
          return _useFixings;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends SwapNode> builder() {
      return new DirectBeanBuilder<SwapNode>(new SwapNode());
    }

    @Override
    public Class<? extends SwapNode> beanType() {
      return SwapNode.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code startTenor} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Tenor> startTenor() {
      return _startTenor;
    }

    /**
     * The meta-property for the {@code maturityTenor} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Tenor> maturityTenor() {
      return _maturityTenor;
    }

    /**
     * The meta-property for the {@code payLegConvention} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalId> payLegConvention() {
      return _payLegConvention;
    }

    /**
     * The meta-property for the {@code receiveLegConvention} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalId> receiveLegConvention() {
      return _receiveLegConvention;
    }

    /**
     * The meta-property for the {@code useFixings} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Boolean> useFixings() {
      return _useFixings;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -1583746178: // startTenor
          return ((SwapNode) bean).getStartTenor();
        case 45907375: // maturityTenor
          return ((SwapNode) bean).getMaturityTenor();
        case 774631511: // payLegConvention
          return ((SwapNode) bean).getPayLegConvention();
        case -560732676: // receiveLegConvention
          return ((SwapNode) bean).getReceiveLegConvention();
        case 1829944031: // useFixings
          return ((SwapNode) bean).isUseFixings();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -1583746178: // startTenor
          ((SwapNode) bean).setStartTenor((Tenor) newValue);
          return;
        case 45907375: // maturityTenor
          ((SwapNode) bean).setMaturityTenor((Tenor) newValue);
          return;
        case 774631511: // payLegConvention
          ((SwapNode) bean).setPayLegConvention((ExternalId) newValue);
          return;
        case -560732676: // receiveLegConvention
          ((SwapNode) bean).setReceiveLegConvention((ExternalId) newValue);
          return;
        case 1829944031: // useFixings
          ((SwapNode) bean).setUseFixings((Boolean) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }

    @Override
    protected void validate(Bean bean) {
      JodaBeanUtils.notNull(((SwapNode) bean)._startTenor, "startTenor");
      JodaBeanUtils.notNull(((SwapNode) bean)._maturityTenor, "maturityTenor");
      JodaBeanUtils.notNull(((SwapNode) bean)._payLegConvention, "payLegConvention");
      JodaBeanUtils.notNull(((SwapNode) bean)._receiveLegConvention, "receiveLegConvention");
      super.validate(bean);
    }
  }
  /** The meta-bean for {@code ISDACompliantDateYieldCurve}. */
  public static class Meta extends ISDACompliantYieldCurve.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code baseDate} property. */
    private final MetaProperty<LocalDate> _baseDate =
        DirectMetaProperty.ofReadWrite(
            this, "baseDate", ISDACompliantDateYieldCurve.class, LocalDate.class);
    /** The meta-property for the {@code dates} property. */
    private final MetaProperty<LocalDate[]> _dates =
        DirectMetaProperty.ofReadWrite(
            this, "dates", ISDACompliantDateYieldCurve.class, LocalDate[].class);
    /** The meta-property for the {@code dayCount} property. */
    private final MetaProperty<DayCount> _dayCount =
        DirectMetaProperty.ofReadWrite(
            this, "dayCount", ISDACompliantDateYieldCurve.class, DayCount.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this, (DirectMetaPropertyMap) super.metaPropertyMap(), "baseDate", "dates", "dayCount");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -1721984481: // baseDate
          return _baseDate;
        case 95356549: // dates
          return _dates;
        case 1905311443: // dayCount
          return _dayCount;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends ISDACompliantDateYieldCurve> builder() {
      return new DirectBeanBuilder<ISDACompliantDateYieldCurve>(new ISDACompliantDateYieldCurve());
    }

    @Override
    public Class<? extends ISDACompliantDateYieldCurve> beanType() {
      return ISDACompliantDateYieldCurve.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code baseDate} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<LocalDate> baseDate() {
      return _baseDate;
    }

    /**
     * The meta-property for the {@code dates} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<LocalDate[]> dates() {
      return _dates;
    }

    /**
     * The meta-property for the {@code dayCount} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<DayCount> dayCount() {
      return _dayCount;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -1721984481: // baseDate
          return ((ISDACompliantDateYieldCurve) bean).getBaseDate();
        case 95356549: // dates
          return ((ISDACompliantDateYieldCurve) bean).getDates();
        case 1905311443: // dayCount
          return ((ISDACompliantDateYieldCurve) bean).getDayCount();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -1721984481: // baseDate
          ((ISDACompliantDateYieldCurve) bean).setBaseDate((LocalDate) newValue);
          return;
        case 95356549: // dates
          ((ISDACompliantDateYieldCurve) bean).setDates((LocalDate[]) newValue);
          return;
        case 1905311443: // dayCount
          ((ISDACompliantDateYieldCurve) bean).setDayCount((DayCount) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }
  }
示例#30
0
  /** The meta-bean for {@code SwapSecurity}. */
  public static class Meta extends FinancialSecurity.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code tradeDate} property. */
    private final MetaProperty<ZonedDateTime> _tradeDate =
        DirectMetaProperty.ofReadWrite(this, "tradeDate", SwapSecurity.class, ZonedDateTime.class);
    /** The meta-property for the {@code effectiveDate} property. */
    private final MetaProperty<ZonedDateTime> _effectiveDate =
        DirectMetaProperty.ofReadWrite(
            this, "effectiveDate", SwapSecurity.class, ZonedDateTime.class);
    /** The meta-property for the {@code maturityDate} property. */
    private final MetaProperty<ZonedDateTime> _maturityDate =
        DirectMetaProperty.ofReadWrite(
            this, "maturityDate", SwapSecurity.class, ZonedDateTime.class);
    /** The meta-property for the {@code counterparty} property. */
    private final MetaProperty<String> _counterparty =
        DirectMetaProperty.ofReadWrite(this, "counterparty", SwapSecurity.class, String.class);
    /** The meta-property for the {@code payLeg} property. */
    private final MetaProperty<SwapLeg> _payLeg =
        DirectMetaProperty.ofReadWrite(this, "payLeg", SwapSecurity.class, SwapLeg.class);
    /** The meta-property for the {@code receiveLeg} property. */
    private final MetaProperty<SwapLeg> _receiveLeg =
        DirectMetaProperty.ofReadWrite(this, "receiveLeg", SwapSecurity.class, SwapLeg.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> _map =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "tradeDate",
            "effectiveDate",
            "maturityDate",
            "counterparty",
            "payLeg",
            "receiveLeg");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 752419634: // tradeDate
          return _tradeDate;
        case -930389515: // effectiveDate
          return _effectiveDate;
        case -414641441: // maturityDate
          return _maturityDate;
        case -1651301782: // counterparty
          return _counterparty;
        case -995239866: // payLeg
          return _payLeg;
        case 209233963: // receiveLeg
          return _receiveLeg;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends SwapSecurity> builder() {
      return new DirectBeanBuilder<SwapSecurity>(new SwapSecurity());
    }

    @Override
    public Class<? extends SwapSecurity> beanType() {
      return SwapSecurity.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return _map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code tradeDate} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ZonedDateTime> tradeDate() {
      return _tradeDate;
    }

    /**
     * The meta-property for the {@code effectiveDate} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ZonedDateTime> effectiveDate() {
      return _effectiveDate;
    }

    /**
     * The meta-property for the {@code maturityDate} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ZonedDateTime> maturityDate() {
      return _maturityDate;
    }

    /**
     * The meta-property for the {@code counterparty} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> counterparty() {
      return _counterparty;
    }

    /**
     * The meta-property for the {@code payLeg} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<SwapLeg> payLeg() {
      return _payLeg;
    }

    /**
     * The meta-property for the {@code receiveLeg} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<SwapLeg> receiveLeg() {
      return _receiveLeg;
    }
  }