public GroupRemovedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); } public GroupRemovedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg) {
if (GroupTypes.GroupAll.equals(source.getGroupType())) { groupModInputBuilder.setType(GroupType.OFPGTALL); if (GroupTypes.GroupSelect.equals(source.getGroupType())) { groupModInputBuilder.setType(GroupType.OFPGTSELECT); if (GroupTypes.GroupIndirect.equals(source.getGroupType())) { groupModInputBuilder.setType(GroupType.OFPGTINDIRECT); if (GroupTypes.GroupFf.equals(source.getGroupType())) { groupModInputBuilder.setType(GroupType.OFPGTFF); groupModInputBuilder.setGroupId(new GroupId(source.getGroupId().getValue())); if ((source.getBuckets() != null) && (source.getBuckets().getBucket().size() != 0)) { Collections.sort(source.getBuckets().getBucket(), COMPARATOR); List<BucketsList> bucketLists = salToOFBucketList(source.getBuckets(), data.getVersion(), source.getGroupType().getIntValue(), data.getDatapathId()); groupModInputBuilder.setBucketsList(bucketLists);
public AddGroupInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); } public AddGroupInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg) {
public GroupDescBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); }
public UpdatedBatchedGroupBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); }
public GroupBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); this._containerName = arg.getContainerName(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._groupType = arg.getGroupType(); }
public OriginalGroupBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); }
public RemoveGroupInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); } public RemoveGroupInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg) {
public BatchRemoveGroupsBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); }
public GroupUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); } public GroupUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg) {
public BatchAddGroupsBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); }
public GroupDescStatsBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); }
public FlatBatchAddGroupBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); } public FlatBatchAddGroupBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.service.batch.common.rev160322.BatchOrderGrouping arg) {
public UpdatedGroupBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); }
public GroupAddedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); } public GroupAddedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg) {
public OriginalBatchedGroupBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); }
public FlatBatchRemoveGroupBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); } public FlatBatchRemoveGroupBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.service.batch.common.rev160322.BatchOrderGrouping arg) {
public GroupBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group arg) { this._groupType = arg.getGroupType(); this._groupId = arg.getGroupId(); this._groupName = arg.getGroupName(); this._containerName = arg.getContainerName(); this._barrier = arg.isBarrier(); this._buckets = arg.getBuckets(); }
/** *Set fields from given grouping argument. Valid argument is instance of one of following types: * <ul> * <li>org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group</li> * </ul> * * @param arg grouping object * @throws IllegalArgumentException if given argument is none of valid types */ public void fieldsFrom(DataObject arg) { boolean isValidArg = false; if (arg instanceof org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group) { this._groupType = ((org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group)arg).getGroupType(); this._groupId = ((org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group)arg).getGroupId(); this._groupName = ((org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group)arg).getGroupName(); this._containerName = ((org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group)arg).getContainerName(); this._barrier = ((org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group)arg).isBarrier(); this._buckets = ((org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group)arg).getBuckets(); isValidArg = true; } if (!isValidArg) { throw new IllegalArgumentException( "expected one of: [org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group] \n" + "but was: " + arg ); } }
/** *Set fields from given grouping argument. Valid argument is instance of one of following types: * <ul> * <li>org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group</li> * </ul> * * @param arg grouping object * @throws IllegalArgumentException if given argument is none of valid types */ public void fieldsFrom(DataObject arg) { boolean isValidArg = false; if (arg instanceof org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group) { this._groupType = ((org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group)arg).getGroupType(); this._groupId = ((org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group)arg).getGroupId(); this._groupName = ((org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group)arg).getGroupName(); this._containerName = ((org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group)arg).getContainerName(); this._barrier = ((org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group)arg).isBarrier(); this._buckets = ((org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group)arg).getBuckets(); isValidArg = true; } if (!isValidArg) { throw new IllegalArgumentException( "expected one of: [org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.Group] \n" + "but was: " + arg ); } }